diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-04-16 14:51:15 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-04-16 14:51:15 -0400 |
commit | 868c9b8d7f6771b7540ace735229f02f8cc46aaf (patch) | |
tree | 2f581ed2b5b4db8a535ba0c9d306751f531cf4f2 /application/basilisk/base/content/browser.js | |
parent | 519d0cf5523b3e83d647ebbf0fd132dea7826d95 (diff) | |
download | UXP-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.js | 5 |
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 |