Fix success message show incorrectly when sending test notification

* Due to saving the settings before sending the notification
This commit is contained in:
JonnyWong16 2016-09-27 21:48:09 -07:00
commit ce1d2a0fd9
3 changed files with 6 additions and 6 deletions

View file

@ -2204,7 +2204,7 @@ $(document).ready(function() {
function saveSettings() {
if (configForm.parsley().validate()) {
doAjaxCall('configUpdate', $(this), 'tabs', true, postSaveChecks);
doAjaxCall('configUpdate', $(this), 'tabs', true, true, postSaveChecks);
return false;
} else {
showMsg('<i class="fa fa-exclamation-circle"></i> Please verify your settings.', false, true, 5000, true)