mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* ext action can show alert on result
This commit is contained in:
parent
273ceca063
commit
39ba94e303
1 changed files with 4 additions and 0 deletions
|
|
@ -2999,6 +2999,10 @@ function extensionSettingsAction(actionString, ext, formData)
|
|||
$('#page_ajax .mtt-settings-table').html(json.html); //FIXME: maybe whole page?
|
||||
return;
|
||||
}
|
||||
if (json.alertText) {
|
||||
mttAlert(json.alertText);
|
||||
return;
|
||||
}
|
||||
const callback = function() {
|
||||
if (json.msg) flashInfo(json.msg, json.details);
|
||||
if (json.reload) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue