From 3349f80e33e8dd6f9e9ce9478ad03647c6f1e5ea Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 2 Jan 2016 21:57:28 +0000 Subject: Enable all places in census assistant --- app/Functions/FunctionsEdit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Functions') diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php index f1d63b9e8b..0f8b2915af 100644 --- a/app/Functions/FunctionsEdit.php +++ b/app/Functions/FunctionsEdit.php @@ -1003,8 +1003,7 @@ class FunctionsEdit { jQuery("input.DATE", jQuery(el).closest("table")).val(option.val()); jQuery("input.PLAC", jQuery(el).closest("table")).val(option.data("place")); jQuery("input.census-class", jQuery(el).closest("table")).val(option.data("census")); - var re = /(United States|England|Wales|Scotland|France)$/; - if (re.test(option.data("place"))) { + if (option.data("place")) { jQuery("#assistant-link").show(); } else { jQuery("#assistant-link").hide(); -- cgit v1.3