зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1353711 - Changing reference to this.AppConstants to parent AppConstants, removing local AppConstants field r=dao
MozReview-Commit-ID: Hgo4FjreOos --HG-- extra : rebase_source : 490b603e3f3f00d7290e1aadf276079845887fc1
This commit is contained in:
Родитель
8dc292c901
Коммит
f7f53449d6
|
@ -931,10 +931,6 @@
|
|||
<xul:vbox anonid="search-one-off-buttons" class="search-one-offs"/>
|
||||
</content>
|
||||
<implementation>
|
||||
<field name="AppConstants" readonly="true">
|
||||
(Components.utils.import("resource://gre/modules/AppConstants.jsm", {})).AppConstants;
|
||||
</field>
|
||||
|
||||
<method name="openAutocompletePopup">
|
||||
<parameter name="aInput"/>
|
||||
<parameter name="aElement"/>
|
||||
|
@ -983,7 +979,7 @@
|
|||
let params = {};
|
||||
|
||||
// But open ctrl/cmd clicks on autocomplete items in a new background tab.
|
||||
let modifier = this.AppConstants.platform == "macosx" ?
|
||||
let modifier = AppConstants.platform == "macosx" ?
|
||||
aEvent.metaKey :
|
||||
aEvent.ctrlKey;
|
||||
if (where == "tab" && (aEvent instanceof MouseEvent) &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче