diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-10-24 16:17:02 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-10-24 16:17:02 +0400 |
commit | 663958b564bd96a3b8976894e1dce641bf740f52 (patch) | |
tree | 364fd58926c7403e54d8bdf562bc454b6766b8bc /sql.php | |
parent | 3dc06f4f704ce8ef49ddecf9a500796a7a41db47 (diff) |
Use same logic for printing SQL results as elsewhere
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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) { |