projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274b4bf
)
Roo/bootstrap/Button.js
author
Julian Knowles
<julian@roojs.com>
Fri, 24 Jan 2014 09:43:25 +0000
(17:43 +0800)
committer
Julian Knowles
<julian@roojs.com>
Fri, 24 Jan 2014 09:43:25 +0000
(17:43 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
1e13df6
..
8001b42
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-51,16
+51,14
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
glyphicon: '',
badge: '',
- autoCreate : {
- cls: 'btn',
- tag : 'button',
- html: 'hello'
- },
-
getAutoCreate : function(){
Roo.log("Button Parent is : " + this.parent().xtype);
- var cfg = Roo.apply({}, Roo.bootstrap.Button.superclass.getAutoCreate.call(this));
+ var cfg = {
+ cls: 'btn',
+ tag : 'button',
+ html: 'hello'
+ }
cfg.html = this.html || cfg.html;