Dante 10 years ago
parent
commit
d48c2ab7ed
3 changed files with 7 additions and 1 deletions
  1. 1 0
      changelog.txt
  2. 5 0
      dist/js/bootstrap-dialog.js
  3. 1 1
      dist/js/bootstrap-dialog.min.js

+ 1 - 0
changelog.txt

@@ -2,6 +2,7 @@ LASTEST NOT RELEASED
 ------------------------------
 * Refs #176 *
 * Refs #109, Add methods getDialog(), setDialog() and addDialog() to BootstrapDialog. *
+* Refs #201 *
 
 V1.34.6
 ------------------------------

+ 5 - 0
dist/js/bootstrap-dialog.js

@@ -855,6 +855,11 @@
             // Dynamically add extra functions to $button
             this.enhanceButton($button);
 
+            //Initialize enabled or not
+            if(typeof button.enabled !== 'undefined') {
+              $button.toggleEnable(button.enabled);
+            }
+
             return $button;
         },
         /**

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