summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/security.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 22:45:38 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 22:45:38 +0200
commitfc60f65ed16aa02e21387639973d88f717ca98bb (patch)
tree0642c4fb38b954a3419a85ed9f2eb00d70394d3e /application/palemoon/components/preferences/security.js
parente19475faacf9cca2feb0d1abba3882939d4a2021 (diff)
downloadUXP-fc60f65ed16aa02e21387639973d88f717ca98bb.tar
UXP-fc60f65ed16aa02e21387639973d88f717ca98bb.tar.gz
UXP-fc60f65ed16aa02e21387639973d88f717ca98bb.tar.lz
UXP-fc60f65ed16aa02e21387639973d88f717ca98bb.tar.xz
UXP-fc60f65ed16aa02e21387639973d88f717ca98bb.zip
Bug 1288557 - Part 1: Replace custom exceptions dialog with usage of permissions
Diffstat (limited to 'application/palemoon/components/preferences/security.js')
-rw-r--r--application/palemoon/components/preferences/security.js16
1 files changed, 14 insertions, 2 deletions
diff --git a/application/palemoon/components/preferences/security.js b/application/palemoon/components/preferences/security.js
index 56664bf66..9d5f302a2 100644
--- a/application/palemoon/components/preferences/security.js
+++ b/application/palemoon/components/preferences/security.js
@@ -131,9 +131,21 @@ var gSecurityPane = {
*/
showPasswordExceptions: function ()
{
+ let bundlePrefs = document.getElementById("bundlePreferences");
+ let params = {
+ blockVisible: true,
+ sessionVisible: false,
+ allowVisible: false,
+ hideStatusColumn: true,
+ prefilledHost: "",
+ permissionType: "login-saving",
+ windowTitle: bundlePrefs.getString("savedLoginsExceptions_title"),
+ introText: bundlePrefs.getString("savedLoginsExceptions_desc")
+ };
+
document.documentElement.openWindow("Toolkit:PasswordManagerExceptions",
- "chrome://passwordmgr/content/passwordManagerExceptions.xul",
- "", null);
+ "chrome://browser/content/preferences/permissions.xul",
+ null, params);
},
/**