ソースを参照

Updated examples
Fixed a bug: Dialog is shown even open() method was not called

Dante 12 年 前
コミット
4e30df951d

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

@@ -478,7 +478,8 @@ var BootstrapDialog = null;
             this.getModalFooter().append(this.createFooterContent());
             this.getModal().modal({
                 backdrop: 'static',
-                keyboard: false
+                keyboard: false,
+                show: false
             });
             this.handleModalEvents();
             this.setRealized(true);

+ 2 - 1
js/bootstrap-dialog.js

@@ -478,7 +478,8 @@ var BootstrapDialog = null;
             this.getModalFooter().append(this.createFooterContent());
             this.getModal().modal({
                 backdrop: 'static',
-                keyboard: false
+                keyboard: false,
+                show: false
             });
             this.handleModalEvents();
             this.setRealized(true);