Skip to content
Snippets Groups Projects
Commit 48cda5b3 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '587-add-user-error' into 'devel_12.1.x'

Resolve "Add user error, PD map (Minerva 12.1.0, build 29/10/2018)"

See merge request !520
parents 0f1a558b bad9fcae
No related branches found
No related tags found
2 merge requests!541version 12.1.3 into master,!520Resolve "Add user error, PD map (Minerva 12.1.0, build 29/10/2018)"
Pipeline #7620 passed
...@@ -693,7 +693,10 @@ EditUserDialog.prototype.getSurname = function () { ...@@ -693,7 +693,10 @@ EditUserDialog.prototype.getSurname = function () {
*/ */
EditUserDialog.prototype.close = function () { EditUserDialog.prototype.close = function () {
var self = this; var self = this;
$(self.getElement()).dialog("close"); if ($(self.getElement()).hasClass("ui-dialog-content")) {
//close it only if it wasn't destroyed
$(self.getElement()).dialog("close");
}
}; };
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment