projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Button.js
[roojs1]
/
Roo
/
bootstrap
/
Button.js
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() {