aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/buckinghamshire/js.js12
-rw-r--r--web/cobrands/fixmystreet-uk-councils/roadworks.js4
2 files changed, 12 insertions, 4 deletions
diff --git a/web/cobrands/buckinghamshire/js.js b/web/cobrands/buckinghamshire/js.js
index ebbfe36e0..a5d4969d9 100644
--- a/web/cobrands/buckinghamshire/js.js
+++ b/web/cobrands/buckinghamshire/js.js
@@ -4,7 +4,15 @@ if (!fixmystreet.maps) {
return;
}
-fixmystreet.assets.add(fixmystreet.roadworks.layer_future);
-fixmystreet.assets.add(fixmystreet.roadworks.layer_planned);
+var org_id = '1016';
+var body = "Buckinghamshire County Council";
+fixmystreet.assets.add($.extend(true, {}, fixmystreet.roadworks.layer_future, {
+ http_options: { params: { organisation_id: org_id } },
+ body: body
+}));
+fixmystreet.assets.add($.extend(true, {}, fixmystreet.roadworks.layer_planned, {
+ http_options: { params: { organisation_id: org_id } },
+ body: body
+}));
})();
diff --git a/web/cobrands/fixmystreet-uk-councils/roadworks.js b/web/cobrands/fixmystreet-uk-councils/roadworks.js
index ccd8531b6..24eaa8a54 100644
--- a/web/cobrands/fixmystreet-uk-councils/roadworks.js
+++ b/web/cobrands/fixmystreet-uk-councils/roadworks.js
@@ -118,7 +118,7 @@ var roadworks_defaults = {
params: {
get: 'Points',
userid: '1',
- organisation_id: '1016',
+ organisation_id: '', // Cobrand JS should extend and override this.
filterimpact: '1,2,3,4',
extended_func_id: '14',
},
@@ -136,7 +136,7 @@ var roadworks_defaults = {
format_class: OpenLayers.Format.RoadworksForwardPlanning,
strategy_class: OpenLayers.Strategy.FixMyStreet,
stylemap: stylemap,
- body: "Buckinghamshire County Council",
+ body: "", // Cobrand JS should extend and override this.
non_interactive: true,
always_visible: true
};