diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-09-05 19:27:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 19:27:56 +0200 |
commit | 6c4be625921e2974ea230817f882f1a36f55b688 (patch) | |
tree | 00fe7ada961301bd6fba14ef7b8edefaad127c38 /application/palemoon/components/preferences/preferences.xul | |
parent | ddaf09fa2c10eec97c9ce996d5c5ad4879b6cbcd (diff) | |
parent | fa764a68de13dcdaf863a1fdf7bc86c1856bb792 (diff) | |
download | UXP-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.xul | 4 |
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" |