aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-07-31 13:27:56 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-07-31 13:27:56 +0100
commit0d65707e831bacc272db6dd2ce539de57e412033 (patch)
treee86986b7eb4a1ade3eda806f840cd3711d44d02f /web/js
parentb748677e472552c45c2fdc32c7ae9462cd2c0ce8 (diff)
parent749df1cfe907190632b09e434f9411cf08b5b2cf (diff)
Merge branch 'admin-external-url'
Diffstat (limited to 'web/js')
-rw-r--r--web/js/fixmystreet-admin.js2
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) {