diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-07-30 15:46:13 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-07-30 17:42:14 +0100 |
commit | 25f16cc07a5c1daf721103d6f1f523df26fcbbf8 (patch) | |
tree | 0ac92f405f8c3695d7cf86328d85a20996e070da /web/js | |
parent | 366f6b1fe18eae55836ba879b40bd8f1e28d1727 (diff) |
Allow body external URL to be edited in admin.
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/fixmystreet-admin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/fixmystreet-admin.js b/web/js/fixmystreet-admin.js index e49516a5c..5e0d873c5 100644 --- a/web/js/fixmystreet-admin.js +++ b/web/js/fixmystreet-admin.js @@ -9,7 +9,7 @@ $(function(){ var show_open311 = false; if ($('#endpoint').val()) { show_open311 = true; // always show the form if there is an endpoint value - } else if (send_method && send_method.toLowerCase() != 'email') { + } else if (send_method && !send_method.match(/^(email|emptyhomes|noop|refused)$/i)) { show_open311 = true; } if (show_open311) { |