From a05490adb3e1b41a1a95c7e9158e88cf6c1d3763 Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 29 Aug 2014 13:28:00 +0800 Subject: [PATCH] Roo/bootstrap/TabPanel.js --- Roo/bootstrap/TabPanel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/TabPanel.js b/Roo/bootstrap/TabPanel.js index 8e5c140a7f..f9ba6ec6d2 100644 --- a/Roo/bootstrap/TabPanel.js +++ b/Roo/bootstrap/TabPanel.js @@ -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); -- 2.39.2