Commit 3cd13acb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 365107: When classifications are in use, query.cgi doesn't fill the…

Bug 365107: When classifications are in use, query.cgi doesn't fill the component, version and target milestone select menus correctly - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bkor a=justdave
parent 2c98905f
......@@ -87,7 +87,9 @@ function doOnSelectProduct(selectmode) {
var milestone = (typeof(f.target_milestone) == "undefined" ?
null : f.target_milestone);
if (selectmode == 0) {
if (useclassification) {
// If there is no classification selected, give us a chance to fill
// the select fields with values from the possibly selected product.
if (useclassification && f.classification.selectedIndex > -1) {
selectClassification(f.classification, f.product, f.component, f.version, milestone);
} else {
selectProduct(f.product, f.component, f.version, milestone);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment