From c1b3f2e05d11dc8b452869582dcb1b926b306d79 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Mar 2023 10:34:25 +0100 Subject: Add action:video-edit.form.updated hook --- shared/models/plugins/client/client-hook.model.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shared/models/plugins/client') 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 = { 'action:video-channel-playlists.playlists.loaded': true, // Fired when the video edit page (upload, URL/torrent import, update) is being initialized + // Contains a `type` and `updateForm` object attributes 'action:video-edit.init': true, + // Fired when values of the video edit form changed + 'action:video-edit.form.updated': true, + // Fired when the login page is being initialized 'action:login.init': true, -- cgit v1.2.3