Bug 65840 - Save selectX

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@808 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2010-06-24 16:50:37 +00:00
parent 573e49ba51
commit 8692aedd4a
2 changed files with 2 additions and 1 deletions

View File

@ -354,6 +354,7 @@ sub view {
# Pass the state object to the display UI.
$vars->{'chart'} = $chart;
$vars->{'selected'} = { map { $_ => 1 } getSelectedLines() };
$vars->{'category'} = Bugzilla::Chart::getVisibleSeries();
$cgi->send_header();

View File

@ -151,7 +151,7 @@ function subcatSelected() {
<tr>
[% IF loop.first %]
<td align="center" rowspan="[% line.size %]">
<input type="checkbox" value="1" name="select[% newidx %]">
<input type="checkbox" value="1" name="select[% newidx %]" [% " checked" IF selected.$newidx %]>
</td>
<td rowspan="[% line.size %]">
<input type="text" size="20" name="label[% newidx %]"