summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-28 06:37:24 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-28 06:37:24 +0000
commit983265c10193e5ba5bb7193c454524efb34ea1ee (patch)
treea1fc7ecb2a7d9a2e3efdae8cb4dbe3dfbce48030
parent75c89a74975ca98d3329f73bc6a7d50ed7009d3d (diff)
issue70, disable date-search on reset all
git-svn-id: file:///var/lib/svn/phpfspot/trunk@258 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpfspot.js b/phpfspot.js
index cdd4bc2..17cf109 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -151,6 +151,11 @@ function setViewMode(mode)
function clearSearch()
{
document.getElementsByName('searchfor')[0].value = '';
+
+ if(document.getElementsByName('consider_date')[0].checked == true) {
+ document.getElementsByName('consider_date')[0].checked = false;
+ datesearch();
+ }
}
function AskServerWhatToDo()