summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-20 12:56:19 +0100
committerYorhel <git@yorhel.nl>2008-12-20 12:56:19 +0100
commitbf928c19791fd91d5d42f13a39de899fa0a4b5ca (patch)
tree522bc3640b137f3ab9db0aa37219a16cc92a504b
parent79af03107af2a23c180ee2fc145d0dcaa93fe3ff (diff)
Fixing post-on-return bug in JS dropdown search
-rw-r--r--lib/ChangeLog2
-rw-r--r--static/f/forms.js3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index e2b5bd35..5eb214ff 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -6,7 +6,7 @@ TODO:
(preferably with the option to re-add them when unhiding)
+ Add a link for the hidden 'h' option at /hist
-2.0 - ?
+2.0 - 2008-12-20
- New layout
- Massive code rewrite:
- Switched to YAWF
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