Dante 11 years ago
parent
commit
b81365f62e

+ 1 - 1
changelog.txt

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

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

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

File diff suppressed because it is too large
+ 1 - 1
dist/js/bootstrap-dialog.min.js


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

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

File diff suppressed because it is too large
+ 1 - 1
examples/assets/bootstrap-dialog/js/bootstrap-dialog.min.js


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

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