projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c410dbc
)
Roo/bootstrap/Button.js
author
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 10:30:27 +0000
(18:30 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 10:30:27 +0000
(18:30 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
38ea2fe
..
ff7ef6c
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-59,7
+59,11
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
getAutoCreate : function(){
- var cfg={};
+ var cfg = {
+ cls: '',
+ tag : 'button',
+ html: 'hello'
+ }
if (this.toggle===true) {
cfg={
@@
-92,11
+96,6
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
return cfg;
}
- var cfg = {
- cls: '',
- tag : 'button',
- html: 'hello'
- }
if (this.parent().btn&&this.parent().type=='ButtonGroup') {