diff options
author | Yorhel <git@yorhel.nl> | 2008-12-20 12:56:19 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-20 12:56:19 +0100 |
commit | bf928c19791fd91d5d42f13a39de899fa0a4b5ca (patch) | |
tree | 522bc3640b137f3ab9db0aa37219a16cc92a504b /static/f | |
parent | 79af03107af2a23c180ee2fc145d0dcaa93fe3ff (diff) |
Fixing post-on-return bug in JS dropdown search
Diffstat (limited to 'static/f')
-rw-r--r-- | static/f/forms.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/f/forms.js b/static/f/forms.js index 190ddf66..fc9f1215 100644 --- a/static/f/forms.js +++ b/static/f/forms.js @@ -123,7 +123,8 @@ function dsKeyDown(ev) { obj.returnFunc(); else return true; - x('ds_box').style.top = '-500px'; + if(x('ds_box')) + x('ds_box').style.top = '-500px'; obj.selectedId = 0; // opera hack: make sure to not send the form on the return key |