зеркало из https://github.com/mozilla/pjs.git
Fix for bug 65164 - Bugzilla wasn't sending </html> at the end of its pages.
Patch by Christian Reis <kiko@async.com.br> r= gerv@mozilla.org, jake@acutex.net
This commit is contained in:
Родитель
a67423bb66
Коммит
efb7eb3ab8
|
@ -1166,8 +1166,19 @@ sub PutHeader {
|
|||
}
|
||||
|
||||
|
||||
# Putfooter echoes footerhtml and by default prints closing tags
|
||||
#
|
||||
# param
|
||||
# dontclose (boolean): avoid sending </body></html>
|
||||
#
|
||||
# Example:
|
||||
# Putfooter(); # normal close
|
||||
# Putfooter(1); # don't send closing tags
|
||||
|
||||
sub PutFooter {
|
||||
my ( $dontclose ) = @_;
|
||||
print PerformSubsts(Param("footerhtml"));
|
||||
print "\n</body></html>\n" if ( ! $dontclose );
|
||||
SyncAnyPendingShadowChanges();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче