diff options
author | Byron Jones <glob@mozilla.com> | 2014-07-21 18:07:00 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-07-21 18:07:00 +0200 |
commit | b1f98ae140d188d7801ae7a268e91365e6155cb4 (patch) | |
tree | d56d3542f4a87eb1c0b621254197d773df682e74 /buglist.cgi | |
parent | 7bd3b9d8bfaade262564d39e16e8e39a5690d86b (diff) | |
download | bugzilla-b1f98ae140d188d7801ae7a268e91365e6155cb4.tar.gz bugzilla-b1f98ae140d188d7801ae7a268e91365e6155cb4.tar.xz |
Bug 1041559: "Please wait while your bugs are retrieved" shown above menu header for search error pages
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/buglist.cgi b/buglist.cgi index 57b906949..d6875f5fe 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -316,22 +316,6 @@ sub GetGroups { return [values %legal_groups]; } -sub _close_standby_message { - my ($contenttype, $disp, $disp_prefix, $extension, $serverpush) = @_; - my $cgi = Bugzilla->cgi; - $cgi->set_dated_content_disp($disp, $disp_prefix, $extension); - - # Close the "please wait" page, then open the buglist page - if ($serverpush) { - print $cgi->multipart_end(); - print $cgi->multipart_start(-type => $contenttype); - } - else { - print $cgi->header($contenttype); - } -} - - ################################################################################ # Command Execution ################################################################################ @@ -1008,8 +992,6 @@ if ($one_product && $user->can_enter_product($one_product)) { # The following variables are used when the user is making changes to multiple bugs. if ($dotweak && scalar @bugs) { if (!$vars->{'caneditbugs'}) { - _close_standby_message('text/html', - 'inline', "error", "html", $serverpush); ThrowUserError('auth_failure', {group => 'editbugs', action => 'modify', object => 'multiple_bugs'}); @@ -1116,8 +1098,7 @@ if ($format->{'extension'} eq "csv") { $vars->{'human'} = $cgi->param('human'); } -_close_standby_message($contenttype, $disposition, $disp_prefix, - $format->{'extension'}, $serverpush); +$cgi->close_standby_message($contenttype, $disposition); ################################################################################ # Content Generation |