Bug 129375 - Check for just format, not template filename
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1810 6955db30-a419-402b-8a0d-67ecbb4d7f56custis
parent
b66f0dd7f0
commit
10e8a9078a
|
@ -1352,7 +1352,7 @@ _close_standby_message($contenttype, $disposition, $serverpush);
|
|||
# Content Generation
|
||||
################################################################################
|
||||
|
||||
$vars->{'template_format'} = $format->{'template'};
|
||||
$vars->{'template_format'} = $cgi->param('format');
|
||||
|
||||
# Generate and return the UI (HTML page) from the appropriate template.
|
||||
my $output;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
[% tableheader = BLOCK %]
|
||||
<table class="bz_buglist sortable" cellspacing="0" cellpadding="4" width="100%">
|
||||
[% IF template_format != "list/list-simple.html.tmpl" %]
|
||||
[% IF template_format != "simple" %]
|
||||
<tr>
|
||||
[% i = lsearch(order_columns, 'bug_id') %]
|
||||
<td><input type="button" value="Apply" id="usr_filter_submit" /></td>
|
||||
|
@ -269,7 +269,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
[% IF template_format != "list/list-simple.html.tmpl" %]
|
||||
[% IF template_format != "simple" %]
|
||||
<script type="text/javascript">
|
||||
addListener('usr_filter_submit', 'click', function (e) {
|
||||
var inputs = [ "bug_severity", "priority", "bug_status", "resolution" ];
|
||||
|
|
Loading…
Reference in New Issue