From cf7cb80ae69ca5d6be00c987d04fbe01454473f0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 May 2014 16:30:34 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 47f432ac23..5fce2500a4 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -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; -- 2.39.2