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-67ecbb4d7f56
custis
vfilippov 2013-09-20 11:49:44 +00:00
parent b66f0dd7f0
commit 10e8a9078a
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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" ];