aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/cobrands/buckinghamshire/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/buckinghamshire/assets.js b/web/cobrands/buckinghamshire/assets.js
index 1030d11db..2ac084193 100644
--- a/web/cobrands/buckinghamshire/assets.js
+++ b/web/cobrands/buckinghamshire/assets.js
@@ -63,7 +63,7 @@ var labeled_defaults = $.extend(true, {}, defaults, {
stylemap: streetlight_stylemap,
asset_item_message: 'You can pick a <b class="asset-spot">ITEM</b> from the map &raquo;',
construct_asset_name: function(id) {
- var code = id.replace(/[0-9]/g, '');
+ var code = id.replace(/[O0-9]+[A-Z]*/g, '');
return {id: id, name: streetlight_code_to_type[code]};
},
actions: {