projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca3d91
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 06:43:00 +0000
(14:43 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 06:43:00 +0000
(14:43 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
c0b2213
..
625bba5
100644
(file)
--- 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(){