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
parent de3f813b46
commit ce1d2a0fd9
3 changed files with 6 additions and 6 deletions

View file

@ -80,9 +80,9 @@ function confirmAjaxCall(url, msg, loader_msg, callback) {
});
}
function doAjaxCall(url, elem, reload, form, callback) {
function doAjaxCall(url, elem, reload, form, showMsg, callback) {
// Set Message
feedback = $("#ajaxMsg");
feedback = (showMsg) ? $("#ajaxMsg") : $();
update = $("#updatebar");
if (update.is(":visible")) {
var height = update.height() + 35;