From 6de0297718b7170f40c30bf536bbb3d8c32e2315 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 30 Dec 2005 06:47:51 +0000 Subject: =?UTF-8?q?Bug=20297652:=20Javascript=20strict=20warning=20in=20qu?= =?UTF-8?q?ery.cgi=20when=20the=20format=20chosen=20is=20"advanced"=20-=20?= =?UTF-8?q?Patch=20by=20Florian=20Qu=C3=A8ze=20=20r=3Dwick?= =?UTF-8?q?ed=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/search/form.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en') diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 7d061b2ae..daef7e58d 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -84,7 +84,7 @@ var tms = new Array(); */ function doOnSelectProduct(selectmode) { var f = document.forms[queryform]; - milestone = (typeof(f.target_milestone) == "undefined" ? + var milestone = (typeof(f.target_milestone) == "undefined" ? null : f.target_milestone); if (selectmode == 0) { if (useclassification) { -- cgit v1.2.1