diff options
author | Struan Donald <struan@exo.org.uk> | 2011-10-20 18:53:32 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-10-20 18:53:32 +0100 |
commit | 64cc9b22581f24acffbdae19ef6f06b96334135f (patch) | |
tree | 8a7e80a48a0dd6a9b2ecfd8d1b3f3b53f25ba81c /web/js/map-OpenLayers.js | |
parent | 284b74472e30db0f1b1e82a4538f4bebfc0b67a5 (diff) |
remove javascript eval and send down html instead
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index d754248f4..dda50b1b9 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -315,7 +315,6 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { }, function(data) { $('#councils_text').html(data.councils_text); $('#form_category_row').html(data.category); - eval( 'category_extras = ' + data.category_extras + ';'); /* Need to reset this here as it gets removed when we replace the HTML for the dropdown */ $('#form_category').change( form_category_onchange ); |