summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/preferences/in-content/sync.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/basilisk/components/preferences/in-content/sync.js')
-rw-r--r--application/basilisk/components/preferences/in-content/sync.js10
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;