diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-27 13:03:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 13:03:12 +0200 |
commit | c82c6d960a7f19d6595171f9705c43514f20c1ec (patch) | |
tree | a6b92a1da483b654e3ac498fe1197dcad9c65866 /application/palemoon/components/preferences/security.js | |
parent | 8acbae697958b7abfbb9ea5806646ebb2cea5f87 (diff) | |
parent | e66060388f0f8402bed402cb28edbe43fcc31ad5 (diff) | |
download | UXP-c82c6d960a7f19d6595171f9705c43514f20c1ec.tar UXP-c82c6d960a7f19d6595171f9705c43514f20c1ec.tar.gz UXP-c82c6d960a7f19d6595171f9705c43514f20c1ec.tar.lz UXP-c82c6d960a7f19d6595171f9705c43514f20c1ec.tar.xz UXP-c82c6d960a7f19d6595171f9705c43514f20c1ec.zip |
Merge pull request #273 from janekptacijarabaci/pm_permissions_1
[PALEMOON] [frontend vs backend] Fix "Permissions Manager" and permissions
Diffstat (limited to 'application/palemoon/components/preferences/security.js')
-rw-r--r-- | application/palemoon/components/preferences/security.js | 16 |
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); }, /** |