From e9770b6bd5b75eae1444ac32c58e8a419a1898cb Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 26 Aug 2016 09:39:13 -0400 Subject: [PATCH] firing client-side hook when settingsv1 saves --- public/src/admin/settings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/admin/settings.js b/public/src/admin/settings.js index bf6a0b4130..d6436ccefc 100644 --- a/public/src/admin/settings.js +++ b/public/src/admin/settings.js @@ -93,6 +93,8 @@ define('admin/settings', ['uploader'], function(uploader) { message: 'Your changes to the NodeBB configuration have been saved.', type: 'success' }); + + $(window).trigger('action:admin.settingsSaved'); }); });