firing client-side hook when settingsv1 saves

v1.18.x
Julian Lam 9 years ago
parent 9198008907
commit e9770b6bd5

@ -93,6 +93,8 @@ define('admin/settings', ['uploader'], function(uploader) {
message: 'Your changes to the NodeBB configuration have been saved.', message: 'Your changes to the NodeBB configuration have been saved.',
type: 'success' type: 'success'
}); });
$(window).trigger('action:admin.settingsSaved');
}); });
}); });

Loading…
Cancel
Save