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
41e18f47
Commit
41e18f47
authored
Apr 10, 2001
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 72379: query.cgi component value does not reload SELECTed item.
Patch by Myl Melez <myk@mozilla.org> r= jake, justdave
parent
a81cdca0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
query.cgi
query.cgi
+6
-6
No files found.
query.cgi
View file @
41e18f47
...
...
@@ -400,7 +400,7 @@ function selectProduct(f) {
}
var doall = (cnt == f.product.length || cnt == 0);
var csel = new
Array
();
var csel = new
Object
();
for (i=0 ; i<f.component.length ; i++) {
if (f.component[i].selected) {
csel[f.component[i].value] = 1;
...
...
@@ -428,13 +428,13 @@ function selectProduct(f) {
if (doit) {
var l = f.component.length;
f.component[l] = new Option(c, c);
if (csel
.length && csel
[c]) {
if (csel[c]) {
f.component[l].selected = true;
}
}
}
var vsel = new
Array
();
var vsel = new
Object
();
for (i=0 ; i<f.version.length ; i++) {
if (f.version[i].selected) {
vsel[f.version[i].value] = 1;
...
...
@@ -462,7 +462,7 @@ function selectProduct(f) {
if (doit) {
l = f.version.length;
f.version[l] = new Option(v, v);
if (vsel
.length && vsel
[v]) {
if (vsel[v]) {
f.version[l].selected = true;
}
}
...
...
@@ -472,7 +472,7 @@ ENDSCRIPT
if (Param("usetargetmilestone")) {
$jscript .= q{
if (f.target_milestone) {
var tmsel = new
Array
();
var tmsel = new
Object
();
for (i=0 ; i<f.target_milestone.length ; i++) {
if (f.target_milestone[i].selected) {
tmsel[f.target_milestone[i].value] = 1;
...
...
@@ -500,7 +500,7 @@ if (Param("usetargetmilestone")) {
if (doit) {
l = f.target_milestone.length;
f.target_milestone[l] = new Option(tm, tm);
if (tmsel
.length && tmsel
[tm]) {
if (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