projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb00372
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Tue, 1 Apr 2014 11:13:38 +0000
(19:13 +0800)
committer
Edward
<edward@roojs.com>
Tue, 1 Apr 2014 11:13:38 +0000
(19:13 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
2e7015f
..
a9b230a
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-67,6
+67,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
defaulton: true,
preventDefault : true,
removeClass : false,
+ name : false,
getAutoCreate : function(){
@@
-236,6
+237,10
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
cfg.cls = '';
}
+ if(this.name){
+ cfg.name = this.name;
+ }
+
return cfg;
},
initEvents: function() {