зеркало из https://github.com/mozilla/gecko-dev.git
Bug 513234: don't show the 'New tab opened' alert if the new tab is the current tab, r=mfinkle
This commit is contained in:
Родитель
4d46272cf5
Коммит
1522f204a3
|
@ -617,7 +617,8 @@ var BrowserUI = {
|
||||||
this._tabSelect(aEvent);
|
this._tabSelect(aEvent);
|
||||||
break;
|
break;
|
||||||
case "TabOpen":
|
case "TabOpen":
|
||||||
if (!this.isTabsVisible())
|
if (!this.isTabsVisible() &&
|
||||||
|
Browser.selectedTab.chromeTab != aEvent.target)
|
||||||
NewTabPopup.show(aEvent.target);
|
NewTabPopup.show(aEvent.target);
|
||||||
break;
|
break;
|
||||||
// URL textbox events
|
// URL textbox events
|
||||||
|
|
Загрузка…
Ссылка в новой задаче