ロケーションバーから自動的に新しいタブを開く機能がMinefield 4.0b4preで動かなくなっていたのを修正

Bug 571672 – On switch-to-tab results, Alt+Enter should open the page in a new tab, and Ctrl+Enter should switch to tab as expected
https://bugzilla.mozilla.org/show_bug.cgi?id=571672

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7063 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-08-08 09:50:29 +00:00
parent 8c2949fafc
commit cba009f956

View File

@ -1253,8 +1253,8 @@ catch(e) {
source.indexOf('TreeStyleTabService') < 0
) {
eval('bar.handleCommand = '+source.replace(
'aTriggeringEvent && aTriggeringEvent.altKey',
'TreeStyleTabService.checkReadyToOpenNewTabOnLocationBar(url, $&)'
/(aTriggeringEvent && aTriggeringEvent\.altKey)/g,
'TreeStyleTabService.checkReadyToOpenNewTabOnLocationBar(url, $1)'
));
}
bar = null;