+ [% PROCESS series_select sel = { name => 'name',
+ size => 5,
+ multiple => 1,
+ # We want to use the series ID as value,
+ # not its name.
+ value_in_hash => 1 } %]
-
-
List Of Data Sets To Plot
[% IF chart.lines.size > 0 %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/reports/series-common.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/reports/series-common.html.tmpl
index 35586cb4785..cecf288ec12 100644
--- a/mozilla/webtools/bugzilla/template/en/default/reports/series-common.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/reports/series-common.html.tmpl
@@ -48,7 +48,6 @@ var series = {
[% END %]
};
-[%# Should attempt to preserve selection across invocations @@@ %]
[%# This function takes necessary action on selection of a category %]
function catSelected() {
var cat = document.chartform.category.value;
@@ -67,7 +66,8 @@ function catSelected() {
[% IF newtext %]
subcatwidget.options[i] = new Option("[% newtext FILTER js %]", "");
[% END %]
-
+
+ subcatwidget.disabled = false;
subcatwidget.options[0].selected = true;
if (document.chartform.action[1]) {
@@ -100,11 +100,13 @@ function checkNewState() {