]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for 58436 : javascript strict warnings in query.cgi
authorcyeh%bluemartini.com <>
Wed, 21 Feb 2001 05:15:12 +0000 (05:15 +0000)
committercyeh%bluemartini.com <>
Wed, 21 Feb 2001 05:15:12 +0000 (05:15 +0000)
changed to f.target_milestone

query.cgi

index 032739d6d21ed8064e6a3f9354d45cf794b613bd..8a23be33fc91740203fd9b16f3896a34fcf5e709 100755 (executable)
--- a/query.cgi
+++ b/query.cgi
@@ -468,7 +468,7 @@ function selectProduct(f) {
         }
     }
 
-    if ("target_milestone" in f) {
+    if (f.target_milestone) {
         var tmsel = new Array();
         for (i=0 ; i<f.target_milestone.length ; i++) {
             if (f.target_milestone[i].selected) {