projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e723876
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Tue, 1 Apr 2014 10:58:58 +0000
(18:58 +0800)
committer
Edward
<edward@roojs.com>
Tue, 1 Apr 2014 10:58:58 +0000
(18:58 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
334b071
..
9f1aba6
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-65,6
+65,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
offtext: 'OFF',
defaulton: true,
preventDefault : true,
+ removeClass : false,
getAutoCreate : function(){
@@
-230,6
+231,10
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
cfg.href = this.href;
}
+ if(this.removeClass){
+ cfg.cls = '';
+ }
+
return cfg;
},
initEvents: function() {