diff options
-rw-r--r-- | app/views/general/frontpage.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml index 07997a12f..83fa6cf0c 100644 --- a/app/views/general/frontpage.rhtml +++ b/app/views/general/frontpage.rhtml @@ -19,7 +19,7 @@ <%= text_field_with_auto_complete 'public_body', 'query', {}, { :skip_style => true, :frequency => 0.1, :after_update_element => "function(element,value) { - parent.window.location = '/?public_body[query]=' + element.value + parent.window.location = '/?public_body[query]=' + encode(element.value) }" } %> </div> |