Merge branch 'develop' of https://git.trustie.net/jacknudt/trustieforge into develop

This commit is contained in:
cxt 2016-11-04 20:41:18 +08:00
commit e25096e7e6
1 changed files with 8 additions and 7 deletions

View File

@ -426,13 +426,14 @@ function hideModal(el) {
if($("#popupWrap").length > 0){
$("#popupWrap").hide();
}
else{
var modal;
if (el) {
modal = $(el).parents('.ui-dialog-content');
} else {
modal = $('#ajax-modal');
}
var modal;
if (el) {
modal = $(el).parents('.ui-dialog-content');
} else {
modal = $('#ajax-modal');
}
if(modal != null){
modal.dialog("close");
}
}