Skip to content

Commit 20f0475

Browse files
authored
Merge pull request pandao#304 from mirrores/feature/remove_uploadpic_dialog
release bug upload pic remove dialog
2 parents 0e76f96 + 78e6cef commit 20f0475

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/image-dialog/image-dialog.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,18 @@
108108

109109
this.hide().lockScreen(false).hideMask();
110110

111+
//删除对话框
112+
this.remove();
113+
111114
return false;
112115
}],
113116

114117
cancel : [lang.buttons.cancel, function() {
115118
this.hide().lockScreen(false).hideMask();
116119

120+
//删除对话框
121+
this.remove();
122+
117123
return false;
118124
}]
119125
}

0 commit comments

Comments
 (0)