mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 09:26:37 +08:00
Fix error, when cancel tag editing (#2025)
This commit is contained in:
parent
77a1df0068
commit
b8e68e02a1
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ function bindEditTagsAjax(elements) {
|
|||
});
|
||||
manageTagsModalBody.find(".edit-tag-form")
|
||||
.on("ajax:success", function (e, data) {
|
||||
initTagsModalBody(data);
|
||||
if (data.my_module) initTagsModalBody(data);
|
||||
})
|
||||
.on("ajax:error", function (e, data) {
|
||||
$(this).renderFormErrors("tag", data.responseJSON);
|
||||
|
|
Loading…
Reference in a new issue