summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/places
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-03-30 20:11:32 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-03-30 20:11:32 -0400
commit349ceffd890dc29c93b46ee193f52b0801ad0f69 (patch)
treedb0cb6aa0388ed7993dd89648d61965378af3a54 /application/basilisk/components/places
parent711c9cd6cd08f4fe10eb7544aa3a51dfb863bfeb (diff)
downloadUXP-349ceffd890dc29c93b46ee193f52b0801ad0f69.tar
UXP-349ceffd890dc29c93b46ee193f52b0801ad0f69.tar.gz
UXP-349ceffd890dc29c93b46ee193f52b0801ad0f69.tar.lz
UXP-349ceffd890dc29c93b46ee193f52b0801ad0f69.tar.xz
UXP-349ceffd890dc29c93b46ee193f52b0801ad0f69.zip
[BASILISK] Remove FxA infected Sync - Part 1: Remove or condition CUI and Integration Points
Diffstat (limited to 'application/basilisk/components/places')
-rw-r--r--application/basilisk/components/places/PlacesUIUtils.jsm6
-rw-r--r--application/basilisk/components/places/moz.build2
2 files changed, 4 insertions, 4 deletions
diff --git a/application/basilisk/components/places/PlacesUIUtils.jsm b/application/basilisk/components/places/PlacesUIUtils.jsm
index 17fa276aa..035fc12c2 100644
--- a/application/basilisk/components/places/PlacesUIUtils.jsm
+++ b/application/basilisk/components/places/PlacesUIUtils.jsm
@@ -1418,9 +1418,9 @@ this.PlacesUIUtils = {
},
shouldShowTabsFromOtherComputersMenuitem: function() {
- let weaveOK = Weave.Status.checkSetup() != Weave.CLIENT_NOT_CONFIGURED &&
- Weave.Svc.Prefs.get("firstSync", "") != "notReady";
- return weaveOK;
+#ifdef MOZ_SERVICES_SYNC
+ // Weave code to enable menu item
+#endif
},
/**
diff --git a/application/basilisk/components/places/moz.build b/application/basilisk/components/places/moz.build
index 9e5a2c074..ea6d43538 100644
--- a/application/basilisk/components/places/moz.build
+++ b/application/basilisk/components/places/moz.build
@@ -6,6 +6,6 @@
JAR_MANIFESTS += ['jar.mn']
-EXTRA_JS_MODULES += [
+EXTRA_PP_JS_MODULES += [
'PlacesUIUtils.jsm',
]