зеркало из https://github.com/mozilla/gecko-dev.git
Bug 336888 - Prefs->General->Use Bookmark is borken if places is disabled. r=mconnor.
This commit is contained in:
Родитель
41af3aa3be
Коммит
c6957e9c89
|
@ -72,7 +72,11 @@ var gGeneralPane = {
|
|||
setHomePageToBookmark: function ()
|
||||
{
|
||||
var rv = { url: null };
|
||||
#ifdef MOZ_PLACES
|
||||
document.documentElement.openSubDialog("chrome://browser/content/preferences/selectBookmark.xul",
|
||||
#else
|
||||
document.documentElement.openSubDialog("chrome://browser/content/bookmarks/selectBookmark.xul",
|
||||
#endif
|
||||
"resizable", rv);
|
||||
if (rv.url) {
|
||||
var homePageField = document.getElementById("browserStartupHomepage");
|
||||
|
|
|
@ -30,7 +30,9 @@ browser.jar:
|
|||
* content/browser/preferences/privacy.js
|
||||
* content/browser/preferences/sanitize.xul
|
||||
* content/browser/preferences/sanitize.js
|
||||
#ifdef MOZ_PLACES
|
||||
* content/browser/preferences/selectBookmark.xul
|
||||
* content/browser/preferences/selectBookmark.js
|
||||
#endif
|
||||
* content/browser/preferences/tabs.xul
|
||||
* content/browser/preferences/tabs.js
|
||||
|
|
Загрузка…
Ссылка в новой задаче