projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ea428
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Tue, 15 Apr 2014 10:51:08 +0000
(18:51 +0800)
committer
Edward
<edward@roojs.com>
Tue, 15 Apr 2014 10:51:08 +0000
(18:51 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
08d95c9
..
6c5a8a6
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-65,9
+65,10
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
ontext: 'ON',
offtext: 'OFF',
defaulton: true,
- preventDefault : true,
- removeClass : false,
- name : false,
+ preventDefault: true,
+ removeClass: false,
+ name: false,
+ target: false,
getAutoCreate : function(){
@@
-238,6
+239,10
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
cfg.cls = '';
}
+ if(this.target){
+ cfg.target = this.target;
+ }
+
return cfg;
},
initEvents: function() {