From eee7cfc041e2a623b7ff6aae6ec9551a0706d4cb Mon Sep 17 00:00:00 2001 From: "dietrich%mozilla.com" Date: Fri, 7 Jul 2006 21:52:20 +0000 Subject: [PATCH] Followup for breakage from 343659 (r=mano) --- browser/components/sessionstore/src/nsSessionStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/sessionstore/src/nsSessionStore.js b/browser/components/sessionstore/src/nsSessionStore.js index e618764c89c2..f009eeeba5ff 100644 --- a/browser/components/sessionstore/src/nsSessionStore.js +++ b/browser/components/sessionstore/src/nsSessionStore.js @@ -385,7 +385,7 @@ SessionStoreService.prototype = { this.onTabAdd(aEvent.currentTarget.ownerDocument.defaultView, tabpanel); } else { - this.onTabClose(aEvent.currentTarget.ownerDocument.defaultView, tabpanel); + this.onTabClose(aEvent.currentTarget.ownerDocument.defaultView, aEvent.originalTarget); this.onTabRemove(aEvent.currentTarget.ownerDocument.defaultView, tabpanel); } break;