Bug 1231434 - Add 'Delete All' context menu entry to storage inspector r=mratcliffe

MozReview-Commit-ID: 4YNXmhtriRS
This commit is contained in:
Jarda Snajdr
2016-04-09 01:45:00 +02:00
parent c899a2e7c8
commit d4055f7986
13 changed files with 452 additions and 63 deletions

View File

@@ -803,6 +803,9 @@ TableWidget.prototype = {
if (typeof item == "string") {
item = this.items.get(item);
}
if (!item) {
return;
}
let removed = this.items.delete(item[this.uniqueId]);
if (!removed) {