aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/oxfordshire/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/oxfordshire/js.js')
-rw-r--r--web/cobrands/oxfordshire/js.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/cobrands/oxfordshire/js.js b/web/cobrands/oxfordshire/js.js
new file mode 100644
index 000000000..17cb0dd8f
--- /dev/null
+++ b/web/cobrands/oxfordshire/js.js
@@ -0,0 +1,7 @@
+fixmystreet.utils = fixmystreet.utils || {};
+
+$.extend(fixmystreet.utils, {
+ defect_type_format: function(data) {
+ return data.extra.defect_code + ' - ' + data.extra.activity_code + ' (' + data.name + ')';
+ }
+});