forked from mirrors/gecko-dev
Bug 1485953 - Fix label for permissions blocked globally. r=johannh
MozReview-Commit-ID: Jx902nO2RwZ
This commit is contained in:
parent
d5597064b9
commit
d3a00966a3
1 changed files with 3 additions and 1 deletions
|
|
@ -682,8 +682,10 @@ var SitePermissions = {
|
||||||
case this.ALLOW_COOKIES_FOR_SESSION:
|
case this.ALLOW_COOKIES_FOR_SESSION:
|
||||||
return gStringBundle.GetStringFromName("state.current.allowedForSession");
|
return gStringBundle.GetStringFromName("state.current.allowedForSession");
|
||||||
case this.BLOCK:
|
case this.BLOCK:
|
||||||
if (scope && scope != this.SCOPE_PERSISTENT && scope != this.SCOPE_POLICY)
|
if (scope && scope != this.SCOPE_PERSISTENT && scope != this.SCOPE_POLICY &&
|
||||||
|
scope != this.SCOPE_GLOBAL) {
|
||||||
return gStringBundle.GetStringFromName("state.current.blockedTemporarily");
|
return gStringBundle.GetStringFromName("state.current.blockedTemporarily");
|
||||||
|
}
|
||||||
return gStringBundle.GetStringFromName("state.current.blocked");
|
return gStringBundle.GetStringFromName("state.current.blocked");
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue