update: minor changes to document template bulk generation

This commit is contained in:
Gary Sharp
2025-09-07 12:06:23 +10:00
parent ca7193a8fc
commit 36c24542e1
8 changed files with 481 additions and 324 deletions
@@ -907,17 +907,17 @@ else
dataType: 'json',
url: url,
data: data,
complete: function (response, result) {
if (result != 'success') {
alert('Unable to change email settings:\nCheck logs for more information');
ajaxLoading.hide();
} else {
complete: function (response) {
if (response.status === 200) {
ajaxLoading.hide().next('.ajaxOk').show().delay('fast').fadeOut('slow');
if (!!$('#EmailSmtpServer').val()) {
testButton.removeAttr('disabled');
} else {
testButton.attr('disabled', 'disabled');
}
} else {
alert('Unable to change email settings:\nCheck logs for more information');
ajaxLoading.hide();
}
}
});