diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-10 12:27:23 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-10 12:27:23 +0100 |
commit | 5df97df2fc3f0e9a3895da0d478d76694cf9c171 (patch) | |
tree | 68ee607b80f2cb0f03f9b6f51205c66d3157e452 /application/basilisk/components/preferences/in-content/sync.js | |
parent | dd13d3ac4100bf08507a1037e935ca712e27baad (diff) | |
download | UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar.gz UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar.lz UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar.xz UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.zip |
Restore quota view/warnings to Basilisk.
Diffstat (limited to 'application/basilisk/components/preferences/in-content/sync.js')
-rw-r--r-- | application/basilisk/components/preferences/in-content/sync.js | 10 |
1 files changed, 10 insertions, 0 deletions
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; |