From fc9ff3dfbc9b4cb6723e11796e1aa724d46cbdea Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 31 Mar 2014 14:43:00 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index c0b22130ad..625bba562d 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -24,6 +24,7 @@ * @cfg {String} ontext text for on toggle state * @cfg {String} offtext text for off toggle state * @cfg {Boolean} defaulton true | false + * @cfg {Boolean} preventDefault true | false * * @constructor * Create a new button @@ -62,6 +63,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { ontext: 'ON', offtext: 'OFF', defaulton: true, + preventDefault : false, getAutoCreate : function(){ -- 2.39.2