summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/preferences.xul
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-09-05 19:27:56 +0200
committerGitHub <noreply@github.com>2018-09-05 19:27:56 +0200
commit6c4be625921e2974ea230817f882f1a36f55b688 (patch)
tree00fe7ada961301bd6fba14ef7b8edefaad127c38 /application/palemoon/components/preferences/preferences.xul
parentddaf09fa2c10eec97c9ce996d5c5ad4879b6cbcd (diff)
parentfa764a68de13dcdaf863a1fdf7bc86c1856bb792 (diff)
downloadUXP-6c4be625921e2974ea230817f882f1a36f55b688.tar
UXP-6c4be625921e2974ea230817f882f1a36f55b688.tar.gz
UXP-6c4be625921e2974ea230817f882f1a36f55b688.tar.lz
UXP-6c4be625921e2974ea230817f882f1a36f55b688.tar.xz
UXP-6c4be625921e2974ea230817f882f1a36f55b688.zip
Merge pull request #747 from JustOff/PR_NewtabUrl
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"