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

index 8e5c140..f9ba6ec 100644 (file)
@@ -28,6 +28,7 @@ Roo.bootstrap.TabPanel = function(config){
             * Fires when the active status changes
             * @param {Roo.bootstrap.TabPanel} this
             * @param {Boolean} state the new state
+             * @param {Roo.EventObject} e
            
          */
         'changed': true
@@ -69,7 +70,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) {
+                item.on('changed', function(item, state, e) {
                     Roo.log(e);
                     this.setActive(state);
                 }, this);