diff options
author | Yorhel <git@yorhel.nl> | 2009-03-14 16:22:28 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-03-14 16:22:28 +0100 |
commit | ea15a969492714e542b458a8e4f504c17c26077b (patch) | |
tree | 42b19f395c31703d0168cbf32352f55bb348c1ec | |
parent | c47a479253d16dba9653c9ce86f86849d0d5f03e (diff) |
The dropdown search box shouldn't show results of the previous query on second search
-rw-r--r-- | static/f/forms.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/f/forms.js b/static/f/forms.js index 9e795ba6..4b8cb3ad 100644 --- a/static/f/forms.js +++ b/static/f/forms.js @@ -156,8 +156,10 @@ function dsSearch(obj) { // show/hide the ds_box div if(obj.value.length < 2) { - if(b) + if(b) { b.style.top = '-500px'; + b.innerHTML = '<b>Loading...</b>'; + } obj.selectedId = 0; return; } |