Dante 11 年之前
父节点
当前提交
b81365f62e

+ 1 - 1
changelog.txt

@@ -1,6 +1,6 @@
 LASTEST NOT RELEASED
 ------------------------------
-NONE
+* FIXED #102 *
 
 V1.34.1
 ------------------------------

+ 1 - 1
dist/js/bootstrap-dialog.js

@@ -1064,10 +1064,10 @@
             return this;
         },
         close: function() {
-            this.getModal().modal('hide');
             if (this.isAutodestroy()) {
                 delete BootstrapDialog.dialogs[this.getId()];
             }
+            this.getModal().modal('hide');
             this.setOpened(false);
 
             return this;

文件差异内容过多而无法显示
+ 1 - 1
dist/js/bootstrap-dialog.min.js


+ 1 - 1
examples/assets/bootstrap-dialog/js/bootstrap-dialog.js

@@ -1064,10 +1064,10 @@
             return this;
         },
         close: function() {
-            this.getModal().modal('hide');
             if (this.isAutodestroy()) {
                 delete BootstrapDialog.dialogs[this.getId()];
             }
+            this.getModal().modal('hide');
             this.setOpened(false);
 
             return this;

文件差异内容过多而无法显示
+ 1 - 1
examples/assets/bootstrap-dialog/js/bootstrap-dialog.min.js


+ 1 - 1
src/js/bootstrap-dialog.js

@@ -1064,10 +1064,10 @@
             return this;
         },
         close: function() {
-            this.getModal().modal('hide');
             if (this.isAutodestroy()) {
                 delete BootstrapDialog.dialogs[this.getId()];
             }
+            this.getModal().modal('hide');
             this.setOpened(false);
 
             return this;