diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-01-02 21:57:28 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-01-02 21:57:28 +0000 |
| commit | 3349f80e33e8dd6f9e9ce9478ad03647c6f1e5ea (patch) | |
| tree | e80d4bc4d21bdb8fb5a7631b8a1c4d0fb7bf2169 /app/Functions | |
| parent | 9ea72f36bfd1a5b10e76c5d5cc7856be46455c6b (diff) | |
| download | webtrees-3349f80e33e8dd6f9e9ce9478ad03647c6f1e5ea.tar.gz webtrees-3349f80e33e8dd6f9e9ce9478ad03647c6f1e5ea.tar.bz2 webtrees-3349f80e33e8dd6f9e9ce9478ad03647c6f1e5ea.zip | |
Enable all places in census assistant
Diffstat (limited to 'app/Functions')
| -rw-r--r-- | app/Functions/FunctionsEdit.php | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |
