зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1372528 - Change search settings redirects to General section of about:preferences r=jaws
MozReview-Commit-ID: J5biFoOjsXX --HG-- extra : rebase_source : 770cd42dcf5ee7067d2242971ff972a38953000c
This commit is contained in:
Родитель
9b6ee91cd7
Коммит
674483db72
|
@ -1600,7 +1600,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||
value="&urlbar.searchSuggestionsNotification.changeSettingsUnix;"
|
||||
accesskey="&urlbar.searchSuggestionsNotification.changeSettingsUnix.accesskey;"
|
||||
#endif
|
||||
onclick="openPreferences('general-search');"
|
||||
onclick="Preferences.get('browser.preferences.useOldOrganization') ? openPreferences('paneSearch') : openPreferences('general-search');"
|
||||
control="search-suggestions-change-settings"/>
|
||||
</xul:hbox>
|
||||
</xul:deck>
|
||||
|
|
|
@ -1472,7 +1472,13 @@
|
|||
<method name="showSettings">
|
||||
<body><![CDATA[
|
||||
BrowserUITelemetry.countSearchSettingsEvent(this.telemetryOrigin);
|
||||
openPreferences("general-search", {origin: "contentSearch"});
|
||||
|
||||
if (Preferences.get("browser.preferences.useOldOrganization")) {
|
||||
openPreferences("paneSearch", {origin: "contentSearch"});
|
||||
} else {
|
||||
openPreferences("general-search", {origin: "contentSearch"});
|
||||
}
|
||||
|
||||
// If the preference tab was already selected, the panel doesn't
|
||||
// close itself automatically.
|
||||
this.popup.hidePopup();
|
||||
|
|
Загрузка…
Ссылка в новой задаче