summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-04-16 14:51:15 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-04-16 14:51:15 -0400
commit868c9b8d7f6771b7540ace735229f02f8cc46aaf (patch)
tree2f581ed2b5b4db8a535ba0c9d306751f531cf4f2 /application/basilisk/base/content/browser.js
parent519d0cf5523b3e83d647ebbf0fd132dea7826d95 (diff)
downloadUXP-868c9b8d7f6771b7540ace735229f02f8cc46aaf.tar
UXP-868c9b8d7f6771b7540ace735229f02f8cc46aaf.tar.gz
UXP-868c9b8d7f6771b7540ace735229f02f8cc46aaf.tar.lz
UXP-868c9b8d7f6771b7540ace735229f02f8cc46aaf.tar.xz
UXP-868c9b8d7f6771b7540ace735229f02f8cc46aaf.zip
[BASILISK] Port PM Sync Client - Part 5: Port the original sync toolbar button and create a synced tabs toolbar button
Diffstat (limited to 'application/basilisk/base/content/browser.js')
-rw-r--r--application/basilisk/base/content/browser.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/basilisk/base/content/browser.js b/application/basilisk/base/content/browser.js
index 49ee14848..a752f4cd9 100644
--- a/application/basilisk/base/content/browser.js
+++ b/application/basilisk/base/content/browser.js
@@ -6254,7 +6254,10 @@ function checkEmptyPageOrigin(browser = gBrowser.selectedBrowser,
#ifdef MOZ_SERVICES_SYNC
function BrowserOpenSyncTabs() {
- switchToTabHavingURI("about:sync-tabs", true);
+ if (gSyncUI._needsSetup())
+ gSyncUI.openSetup();
+ else
+ switchToTabHavingURI("about:sync-tabs", true);
}
#endif