projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d8300
)
Roo/bootstrap/TabPanel.js
author
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:33:30 +0000
(11:33 +0800)
committer
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:33:30 +0000
(11:33 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
a010c36
..
8aa27ba
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-53,6
+53,7
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
html: false,
tabId: false,
navId : false,
+ swiping : true,
href : '',
getAutoCreate : function(){
@@
-98,7
+99,9
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
this.el.on('click', this.onClick, this);
}
- if(Roo.isTouch)
+ if(Roo.isTouch && this.swiping){
+ this.el.on("touchstart", this.onTouchStart, this);
+ }
},