aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/admin.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/admin.js b/web/cobrands/fixmystreet/admin.js
index d1a75a6dc..5c0378ad2 100644
--- a/web/cobrands/fixmystreet/admin.js
+++ b/web/cobrands/fixmystreet/admin.js
@@ -99,6 +99,13 @@ $(function(){
// Bits for the report extra fields form builder:
+ // Reveal the UI when 'show' link is clicked
+ $(".js-show-extra-fields").click(function(e) {
+ e.preventDefault();
+ $(this).hide();
+ $(".js-extra-fields-ui").removeClass("hidden-js");
+ });
+
// If type is changed to 'singlevaluelist' show the options list
$(".js-metadata-items").on("change", ".js-metadata-item-type", function() {
var $this = $(this);