From 7a61df2776c45e8f531e48b026590b99f35a25ff Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Thu, 3 Nov 2011 12:14:58 -0700 Subject: [PATCH] Bug 699240 - Ctrl+F4 should not close app tabs on Windows. r=gavin --- browser/base/content/tabbrowser.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index d1d510d2e4e0..a5ac971e6ce3 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -2432,7 +2432,7 @@ #else if (aEvent.ctrlKey && !aEvent.shiftKey && !aEvent.metaKey && aEvent.keyCode == KeyEvent.DOM_VK_F4 && - this.mTabBox.handleCtrlPageUpDown) { + !this.mCurrentTab.pinned) { this.removeCurrentTab({animate: true}); aEvent.stopPropagation(); aEvent.preventDefault();