From b973fa3aa78197c0df5dfa519502d4f144f61edf Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 19 Aug 2009 14:46:55 +0000 Subject: Bug 505015: Selections are not persistent across submissions - Patch by Frédéric Buclin r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/reports/series-common.html.tmpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'template/en/default/reports/series-common.html.tmpl') diff --git a/template/en/default/reports/series-common.html.tmpl b/template/en/default/reports/series-common.html.tmpl index 35586cb47..cecf288ec 100644 --- a/template/en/default/reports/series-common.html.tmpl +++ b/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() {