Roo/bootstrap/TabPanel.js
authoredward <edward@roojs.com>
Tue, 17 Oct 2017 03:32:22 +0000 (11:32 +0800)
committeredward <edward@roojs.com>
Tue, 17 Oct 2017 03:32:22 +0000 (11:32 +0800)
Roo/bootstrap/TabPanel.js

index 644b940..a010c36 100644 (file)
@@ -14,6 +14,7 @@
  * @cfg {String} tabId  unique tab ID (will be autogenerated if not set. - used to match TabItem to Panel)
  * @cfg {String} navId The Roo.bootstrap.NavGroup which triggers show hide ()
  * @cfg {String} href click to link..
+ * @cfg {Boolean} swiping enable swiping on mobile (default true)
  * 
  * 
  * @constructor
@@ -78,8 +79,6 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
     {
         var p = this.parent();
         
-        Roo.log(p);
-        
         this.navId = this.navId || p.navId;
         
         if (typeof(this.navId) != 'undefined') {
@@ -99,6 +98,8 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
             this.el.on('click', this.onClick, this);
         }
         
+        if(Roo.isTouch)
+        
     },
     
     onRender : function(ct, position)