[X2Go-Commits] [pale-moon] 170/294: Only write the newtab URL if the machinery for it had previously been initialized.
git-admin at x2go.org
git-admin at x2go.org
Sat Apr 27 08:58:04 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.
commit eb77e289bbe056b58051db0fa868e95da803aa0a
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date: Mon Mar 25 17:47:16 2019 +0100
Only write the newtab URL if the machinery for it had previously been
initialized.
This prevents the URL being overwritten with e.g. about:logopage.
---
application/palemoon/components/preferences/preferences.xul | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/palemoon/components/preferences/preferences.xul b/application/palemoon/components/preferences/preferences.xul
index a1d9c8c..2b7fd9d 100644
--- a/application/palemoon/components/preferences/preferences.xul
+++ b/application/palemoon/components/preferences/preferences.xul
@@ -56,7 +56,7 @@
#endif
#endif
onunload="if (typeof gSecurityPane != 'undefined') gSecurityPane.syncAddonSecurityLevel();"
- ondialogaccept="gNewtabUrl.writeNewtabUrl();">
+ ondialogaccept="if (typeof gTabsPane != 'undefined') gNewtabUrl.writeNewtabUrl();">
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
<script type="application/javascript" src="chrome://browser/content/preferences/newtaburl.js"/>
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list