Restore quota view/warnings to Basilisk.

This commit is contained in:
wolfbeast 2018-12-10 12:27:23 +01:00 committed by Roy Tam
commit 78993a5920
7 changed files with 407 additions and 5 deletions

View file

@ -541,6 +541,16 @@ var gSyncPane = {
});
},
openQuotaDialog: function () {
let win = Services.wm.getMostRecentWindow("Sync:ViewQuota");
if (win) {
win.focus();
} else {
window.openDialog("chrome://browser/content/sync/quota.xul", "",
"centerscreen,chrome,dialog,modal");
}
},
openAddDevice: function () {
if (!Weave.Utils.ensureMPUnlocked())
return;