Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
b82afafe
Commit
b82afafe
authored
Jan 18, 2001
by
tara%tequilarista.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Landing patch for bug #58436 from Henrik Gemal
parent
2093c1cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
query.cgi
query.cgi
+12
-12
No files found.
query.cgi
View file @
b82afafe
...
...
@@ -428,7 +428,7 @@ function selectProduct(f) {
if (doit) {
var l = f.component.length;
f.component[l] = new Option(c, c);
if (csel[c]) {
if (csel
.length && csel
[c]) {
f.component[l].selected = true;
}
}
...
...
@@ -445,13 +445,13 @@ function selectProduct(f) {
for (v in vers) {
if (typeof(vers[v]) == 'function') continue;
var
doit = doall;
doit = doall;
for (i=0 ; !doit && i<f.product.length ; i++) {
if (f.product[i].selected) {
var
p = f.product[i].value;
p = f.product[i].value;
for (j in vers[v]) {
if (typeof(vers[v][j]) == 'function') continue;
var
p2 = vers[v][j];
p2 = vers[v][j];
if (p2 == p) {
doit = true;
break;
...
...
@@ -460,15 +460,15 @@ function selectProduct(f) {
}
}
if (doit) {
var
l = f.version.length;
l = f.version.length;
f.version[l] = new Option(v, v);
if (vsel[v]) {
if (vsel
.length && vsel
[v]) {
f.version[l].selected = true;
}
}
}
if (
f.target_milestone
) {
if (
"target_milestone" in f
) {
var tmsel = new Array();
for (i=0 ; i<f.target_milestone.length ; i++) {
if (f.target_milestone[i].selected) {
...
...
@@ -480,13 +480,13 @@ function selectProduct(f) {
for (tm in tms) {
if (typeof(tms[v]) == 'function') continue;
var
doit = doall;
doit = doall;
for (i=0 ; !doit && i<f.product.length ; i++) {
if (f.product[i].selected) {
var
p = f.product[i].value;
p = f.product[i].value;
for (j in tms[tm]) {
if (typeof(tms[tm][j]) == 'function') continue;
var
p2 = tms[tm][j];
p2 = tms[tm][j];
if (p2 == p) {
doit = true;
break;
...
...
@@ -495,9 +495,9 @@ function selectProduct(f) {
}
}
if (doit) {
var
l = f.target_milestone.length;
l = f.target_milestone.length;
f.target_milestone[l] = new Option(tm, tm);
if (tmsel[tm]) {
if (tmsel
.length && tmsel
[tm]) {
f.target_milestone[l].selected = true;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment