Tabular reports borked
git-svn-id: svn://10.0.0.236/trunk@254063 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7e52d1f012
commit
3e1294d2e1
@ -18,16 +18,6 @@
|
||||
# Contributor(s): Greg Hendricks <ghendricks@novell.com>
|
||||
#%]
|
||||
|
||||
<script type="text/javascript">
|
||||
function chartTypeChanged() {
|
||||
if (document.getElementById('pie_selector').checked == true) {
|
||||
document.getElementById('y_axis_field').disabled = true;
|
||||
} else {
|
||||
document.getElementById('y_axis_field').disabled = false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<p>
|
||||
Choose one or more fields as your axes, and then refine your set of
|
||||
[% obj.type FILTER none %]s using the rest of the form.
|
||||
@ -67,14 +57,14 @@
|
||||
</td>
|
||||
<td rowspan="2">
|
||||
<b>Format:</b><br>
|
||||
<input name="format" value="table" onchange="chartTypeChanged()" checked="checked" type="radio">Table<br>
|
||||
<input name="format" value="line" onchange="chartTypeChanged()" type="radio">Line Graph<br>
|
||||
<input name="format" value="bar" onchange="chartTypeChanged()" type="radio">Bar Chart<br>
|
||||
<input name="format" value="table" checked="checked" type="radio">Table<br>
|
||||
<input name="format" value="line" type="radio">Line Graph<br>
|
||||
<input name="format" value="bar" type="radio">Bar Chart<br>
|
||||
<!-- <input id="pie_selector" name="format" value="pie" onchange="chartTypeChanged()" type="radio">Pie Chart<br> -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<input type="hidden" name="report_action" value="data">
|
||||
<input type="hidden" name="report_action" value="data" />
|
||||
<input type="hidden" name="report" value="1" />
|
||||
|
||||
@ -48,7 +48,9 @@ Testopia.Search.fillInForm = function(type, params, name){
|
||||
}
|
||||
}
|
||||
else{
|
||||
f[i].value = params[f[i].name] || '';
|
||||
if (params[f[i].name]){
|
||||
f[i].value = params[f[i].name] || '';
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -8355,7 +8355,9 @@ Testopia.Search.fillInForm = function(type, params, name){
|
||||
}
|
||||
}
|
||||
else{
|
||||
f[i].value = params[f[i].name] || '';
|
||||
if (params[f[i].name]){
|
||||
f[i].value = params[f[i].name] || '';
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user