summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 22:45:12 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 22:45:12 +0200
commite19475faacf9cca2feb0d1abba3882939d4a2021 (patch)
tree33a845893c1e444cc43a3ecdb0b2ab1d6bf8593b
parent6a57baf7067e3e2f463f3da399875a7e1169b1c4 (diff)
downloadUXP-e19475faacf9cca2feb0d1abba3882939d4a2021.tar
UXP-e19475faacf9cca2feb0d1abba3882939d4a2021.tar.gz
UXP-e19475faacf9cca2feb0d1abba3882939d4a2021.tar.lz
UXP-e19475faacf9cca2feb0d1abba3882939d4a2021.tar.xz
UXP-e19475faacf9cca2feb0d1abba3882939d4a2021.zip
Bug 1288557 - Part 0: Fix permissions dialog while receiving deleted event
-rw-r--r--application/palemoon/components/preferences/permissions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/permissions.js b/application/palemoon/components/preferences/permissions.js
index 8f559b0e0..4b1bf41b2 100644
--- a/application/palemoon/components/preferences/permissions.js
+++ b/application/palemoon/components/preferences/permissions.js
@@ -304,7 +304,7 @@ var gPermissionManager = {
this._handleCapabilityChange();
}
else if (aData == "deleted") {
- this._removePermissionFromList(permission);
+ this._removePermissionFromList(permission.principal);
}
}
},