summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/preferences.xul
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-09-03 21:15:53 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-09-03 21:15:53 +0300
commit5359706e7ab5d164748786aa2fd040eca52ed5f3 (patch)
treeb4d10934ba7b03c12d1b8dcbf44125e56d9a5ff5 /application/palemoon/components/preferences/preferences.xul
parent2e00eb87ef299e6eb7521670e6a6720fee19f5fc (diff)
downloadUXP-5359706e7ab5d164748786aa2fd040eca52ed5f3.tar
UXP-5359706e7ab5d164748786aa2fd040eca52ed5f3.tar.gz
UXP-5359706e7ab5d164748786aa2fd040eca52ed5f3.tar.lz
UXP-5359706e7ab5d164748786aa2fd040eca52ed5f3.tar.xz
UXP-5359706e7ab5d164748786aa2fd040eca52ed5f3.zip
Update 'browser.newtab.url' when it's used for new tabs and 'browser.startup.homepage' changes
Diffstat (limited to 'application/palemoon/components/preferences/preferences.xul')
-rw-r--r--application/palemoon/components/preferences/preferences.xul4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/palemoon/components/preferences/preferences.xul b/application/palemoon/components/preferences/preferences.xul
index 2f00b960a..a1d9c8cf7 100644
--- a/application/palemoon/components/preferences/preferences.xul
+++ b/application/palemoon/components/preferences/preferences.xul
@@ -56,10 +56,10 @@
#endif
#endif
onunload="if (typeof gSecurityPane != 'undefined') gSecurityPane.syncAddonSecurityLevel();"
- ondialogaccept="if (typeof gTabsPane != 'undefined') gTabsPane.writeNewtabUrl();
- return true;">
+ ondialogaccept="gNewtabUrl.writeNewtabUrl();">
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
+ <script type="application/javascript" src="chrome://browser/content/preferences/newtaburl.js"/>
<stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
<stringbundle id="bundlePreferences"