mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 583738 - The "Remove All Reports" button on about:crashes should remove pending crashes. r=ted
This commit is contained in:
parent
fce5938f75
commit
41721475c2
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user