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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
2ac9cabf
Commit
2ac9cabf
authored
Sep 15, 2004
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 249868: makes series pages validate
parent
b087d683
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
15 deletions
+24
-15
filterexceptions.pl
template/en/default/filterexceptions.pl
+1
-1
create-chart.html.tmpl
template/en/default/reports/create-chart.html.tmpl
+13
-7
series-common.html.tmpl
template/en/default/reports/series-common.html.tmpl
+5
-2
series.html.tmpl
template/en/default/reports/series.html.tmpl
+5
-5
No files found.
template/en/default/filterexceptions.pl
View file @
2ac9cabf
...
...
@@ -187,7 +187,7 @@
'reports/series-common.html.tmpl'
=>
[
'sel.name'
,
'sel.accesskey'
,
'"onchange=\
'$sel.onchange\'
" IF sel.onchange'
,
'"onchange=\
"$sel.onchange\"
" IF sel.onchange'
,
],
'reports/chart.csv.tmpl'
=>
[
...
...
template/en/default/reports/create-chart.html.tmpl
View file @
2ac9cabf
...
...
@@ -71,9 +71,9 @@ function subcatSelected() {
[% ELSE %]
<tr>
<th>Category:</th>
<
noscript><th></th></noscript
>
<
th></th
>
<th>Sub-category:</th>
<
noscript><th></th></noscript
>
<
th></th
>
<th>Name:</th>
<th><br>
</th>
...
...
@@ -85,30 +85,34 @@ function subcatSelected() {
onchange = "catSelected();
subcatSelected();" } %]
<noscript>
<td>
<noscript>
<input type="submit" name="action-assemble" value="Update -->">
</td>
</noscript>
</td>
[% PROCESS series_select sel = { name => 'subcategory',
size => 5,
onchange = "subcatSelected()" } %]
<noscript>
<td>
<input type="submit" name="action-assemble" value="Update --%gt;"
>
</td
>
<noscript
>
<input type="submit" name="action-assemble" value="Update -->"
>
</noscript>
</td>
<td align="left">
<label for="name" accesskey="N">
<select name="name" id="name" style="width: 15em"
size="5" multiple="multiple"
[%+ "disabled=\"disabled\"" UNLESS name.keys.size %]>
[% FOREACH x = name.keys.sort %]
<option value="[% name.$x FILTER html %]">
[% x FILTER html %]</option>
[% END %]
[% UNLESS name.keys.size %]
<option value="" disabled="disabled"></option>
[% END %]
</select>
</label>
</td>
...
...
@@ -122,6 +126,8 @@ function subcatSelected() {
<script language="JavaScript" type="text/javascript">
document.chartform.category[0].selected = true;
document.chartform.subcategory.disabled = '';
document.chartform.name.disabled = '';
catSelected();
subcatSelected();
</script>
...
...
template/en/default/reports/series-common.html.tmpl
View file @
2ac9cabf
...
...
@@ -30,7 +30,7 @@
[% subcategory = category.${default.category} %]
[% name = subcategory.${default.subcategory} %]
<script>
<script
type="text/javascript"
>
[%# This structure holds details of the series the user can select from. %]
var series = {
[% FOREACH c = category.keys.sort %]
...
...
@@ -102,7 +102,8 @@ function checkNewState() {
<label for="[% sel.name %]" accesskey="[% sel.accesskey %]">
<select name="[% sel.name %]" id="[% sel.name %]"
size="[% sel.size %]" style="width: 15em"
[%+ "onchange='$sel.onchange'" IF sel.onchange %]>
[%+ "disabled=\"disabled\"" UNLESS ${sel.name}.keys.size || newtext %]
[%+ "onchange=\"$sel.onchange\"" IF sel.onchange %]>
[% FOREACH x = ${sel.name}.keys.sort %]
<option value="[% x FILTER html %]"
[% " selected" IF default.${sel.name} == x %]>
...
...
@@ -110,6 +111,8 @@ function checkNewState() {
[% END %]
[% IF newtext %]
<option value="">[% newtext FILTER html %]</option>
[% ELSIF NOT ${sel.name}.keys.size %]
<option value="" disabled="disabled"></option>
[% END %]
</select>
</label>
...
...
template/en/default/reports/series.html.tmpl
View file @
2ac9cabf
...
...
@@ -36,7 +36,7 @@
<tbody>
<tr>
<th>Category:</th>
<
noscript><th></th></noscript
>
<
th></th
>
<th>Sub-category:</th>
<th>Name:</th>
<td></td>
...
...
@@ -45,11 +45,11 @@
[% PROCESS series_select sel = { name => 'category',
size => 5,
onchange => "catSelected()" } %]
<noscript>
<td>
<input type="submit" name="action-edit" value="Update -->"
>
</td
>
<noscript
>
<input type="submit" name="action-edit" value="Update -->"
>
</noscript>
</td>
[% PROCESS series_select sel = { name => 'subcategory',
size => 5,
...
...
@@ -81,7 +81,7 @@
<input type="text" style="width: 100%" name="newcategory"
maxlength="64" value="[% default.newcategory.0 FILTER html %]">
</td>
<
noscript><td></td></noscript
>
<
td></td
>
<td>
<input type="text" style="width: 100%" name="newsubcategory"
maxlength="64"
...
...
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