From 6de0297718b7170f40c30bf536bbb3d8c32e2315 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 30 Dec 2005 06:47:51 +0000 Subject: Bug 297652: Javascript strict warning in query.cgi when the format chosen is "advanced" - Patch by Florian Quèze r=wicked a=justdave 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') 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.3-24-g4f1b