Roo/bootstrap/TabPanel.js
authorEdward <edward@roojs.com>
Fri, 29 Aug 2014 05:45:59 +0000 (13:45 +0800)
committerEdward <edward@roojs.com>
Fri, 29 Aug 2014 05:45:59 +0000 (13:45 +0800)
Roo/bootstrap/TabPanel.js

index 0acf452..fff3831 100644 (file)
@@ -26,9 +26,9 @@ Roo.bootstrap.TabPanel = function(config){
         /**
             * @event changed
             * Fires when the active status changes
-             * @param {Roo.bootstrap.TabPanel} this
+            * @param {Roo.bootstrap.TabPanel} this
             * @param {Boolean} state the new state
-            * @param {Roo.EventObject} e
+           
          */
         'changed': true
      });
@@ -69,10 +69,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
             if (!item) {
                 Roo.log("could not find navID:"  + this.navId + ", tabId: " + this.tabId);
             } else {
-                item.on('changed', function(item, state, e) {
-                    Roo.log(item);
-                    Roo.log(state);
-                    Roo.log(e);
+                item.on('changed', function(item, state) {
                     this.setActive(state);
                 }, this);
             }