diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-10 10:34:25 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:45:52 +0100 |
commit | 085aba61c35ad63155a46453dff7752840e82146 (patch) | |
tree | 72432a9c3d621222edd463c4437cc660fd216638 /shared | |
parent | 3b2844f80324bc5281f3c0269dc2dad019dd96f1 (diff) | |
download | PeerTube-085aba61c35ad63155a46453dff7752840e82146.tar.gz PeerTube-085aba61c35ad63155a46453dff7752840e82146.tar.zst PeerTube-085aba61c35ad63155a46453dff7752840e82146.zip |
Add action:video-edit.form.updated hook
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index 20e019304..ec1d2b5e5 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -129,8 +129,12 @@ export const clientActionHookObject = { | |||
129 | 'action:video-channel-playlists.playlists.loaded': true, | 129 | 'action:video-channel-playlists.playlists.loaded': true, |
130 | 130 | ||
131 | // Fired when the video edit page (upload, URL/torrent import, update) is being initialized | 131 | // Fired when the video edit page (upload, URL/torrent import, update) is being initialized |
132 | // Contains a `type` and `updateForm` object attributes | ||
132 | 'action:video-edit.init': true, | 133 | 'action:video-edit.init': true, |
133 | 134 | ||
135 | // Fired when values of the video edit form changed | ||
136 | 'action:video-edit.form.updated': true, | ||
137 | |||
134 | // Fired when the login page is being initialized | 138 | // Fired when the login page is being initialized |
135 | 'action:login.init': true, | 139 | 'action:login.init': true, |
136 | 140 | ||