mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
can show message details of extension api action
This commit is contained in:
parent
7a5a82b617
commit
3af04cbd7e
1 changed files with 2 additions and 2 deletions
|
|
@ -2785,10 +2785,10 @@ function extensionSettingsAction(actionString, ext)
|
|||
dataType: 'json',
|
||||
success: function(json) {
|
||||
if (json.total && json.total > 0) {
|
||||
showExtensionSettings(ext, json.msg ? function(){flashInfo(json.msg)} : null);
|
||||
showExtensionSettings(ext, json.msg ? function(){flashInfo(json.msg, json.details)} : null);
|
||||
}
|
||||
else if (json.msg) {
|
||||
flashInfo(json.msg);
|
||||
flashInfo(json.msg, json.details);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue