зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1402485 - Remove Delete all Session cookies option for non cookie staorage r=miker
Borrowed code from onTreePopupShowing into onTablePopupShowing MozReview-Commit-ID: 1IotAfqwlpg --HG-- extra : rebase_source : bd1bc0256ccfbcaf508b319167cab9c21be7dbf2
This commit is contained in:
Родитель
7be35fc71a
Коммит
8b9b4b8fd7
|
@ -1097,6 +1097,15 @@ StorageUI.prototype = {
|
|||
this._tablePopupAddItem.hidden = true;
|
||||
}
|
||||
|
||||
let showDeleteAllSessionCookies = false;
|
||||
if (this.actorSupportsRemoveAllSessionCookies) {
|
||||
if (type === "cookies" && selectedItem.length === 2) {
|
||||
showDeleteAllSessionCookies = true;
|
||||
}
|
||||
}
|
||||
|
||||
this._tablePopupDeleteAllSessionCookies.hidden = !showDeleteAllSessionCookies;
|
||||
|
||||
if (type === "cookies") {
|
||||
let host = addEllipsis(data.host);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче