Bug 669240 - Ctrl+F4 should not close app tabs on Windows. r=gavin

This commit is contained in:
Jared Wein 2011-11-02 19:09:37 -07:00
parent ee488120b5
commit b19b9b611a

View File

@ -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();