From 5df97df2fc3f0e9a3895da0d478d76694cf9c171 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 10 Dec 2018 12:27:23 +0100 Subject: Restore quota view/warnings to Basilisk. --- application/basilisk/components/preferences/in-content/sync.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'application/basilisk/components/preferences/in-content/sync.js') diff --git a/application/basilisk/components/preferences/in-content/sync.js b/application/basilisk/components/preferences/in-content/sync.js index 364172d9b..2600677a8 100644 --- a/application/basilisk/components/preferences/in-content/sync.js +++ b/application/basilisk/components/preferences/in-content/sync.js @@ -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; -- cgit v1.2.3