You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Use same logic for printing SQL results as elsewhere
This commit is contained in:
14
sql.php
14
sql.php
@@ -990,19 +990,7 @@ $(document).ready(makeProfilingChart);
|
||||
|
||||
// Do print the page if required
|
||||
if (isset($printview) && $printview == '1') {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
// Do print the page
|
||||
window.onload = function()
|
||||
{
|
||||
if (typeof(window.print) != 'undefined') {
|
||||
window.print();
|
||||
}
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
<?php
|
||||
PMA_printButton();
|
||||
} // end print case
|
||||
|
||||
if ($GLOBALS['is_ajax_request'] != true) {
|
||||
|
||||
Reference in New Issue
Block a user