From: Andreas Unterkircher Date: Sat, 28 Jul 2007 06:37:24 +0000 (+0000) Subject: issue70, disable date-search on reset all X-Git-Tag: phpfspot-1.2~77 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=983265c10193e5ba5bb7193c454524efb34ea1ee issue70, disable date-search on reset all git-svn-id: file:///var/lib/svn/phpfspot/trunk@258 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- 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()