Merge branch 'yuanke_youhua' into develop

This commit is contained in:
yuanke 2016-11-04 20:30:44 +08:00
commit 76a62af858
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');
}
if(modal != null){
modal.dialog("close");
}
}