Roo/bootstrap/TabGroup.js
authoredward <edward@roojs.com>
Tue, 1 Dec 2015 05:33:01 +0000 (13:33 +0800)
committeredward <edward@roojs.com>
Tue, 1 Dec 2015 05:33:01 +0000 (13:33 +0800)
Roo/bootstrap/TabGroup.js

index 046066c..edbd609 100644 (file)
@@ -92,6 +92,10 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
         
         Roo.log(this);
         
+        if(Roo.isTouch){
+            this.el.on("touchstart", this.onTouchStart, this);
+        }
+        
         if(this.autoslide){
             
             var _this = this;
@@ -103,6 +107,11 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
         
     },
     
+    onTouchStart : function()
+    {
+        Roo.log('onTouchStart');
+    },
+    
     getChildContainer : function()
     {
         return this.carousel ? this.el.select('.carousel-inner', true).first() : this.el;