Bug 583738 - The "Remove All Reports" button on about:crashes should remove pending crashes. r=ted

This commit is contained in:
Jonathan Watt 2013-01-17 16:56:19 -05:00
parent fce5938f75
commit 41721475c2

View File

@ -226,6 +226,10 @@ function clearReports() {
file.remove(false);
}
}
entries = pendingDir.directoryEntries;
while (entries.hasMoreElements()) {
entries.getNext().QueryInterface(Ci.nsIFile).remove(false);
}
document.getElementById("clear-reports").style.display = "none";
document.getElementById("reportList").style.display = "none";
document.getElementById("noReports").style.display = "block";