Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 08:30:34 +0000 (16:30 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 08:30:34 +0000 (16:30 +0800)
Roo/bootstrap/Button.js

index 47f432a..5fce250 100644 (file)
@@ -292,11 +292,19 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         
         this.fireEvent('click', this, e);
     },
+    
+    /**
+     * Enables this button
+     */
     enable : function()
     {
         this.disabled = false;
         this.el.removeClass('disabled');
     },
+    
+    /**
+     * Disable this button
+     */
     disable : function()
     {
         this.disabled = true;