Rouslan, I have a quick question:
For exporting a database, in db_export.php there is this code:
$response = PMA_Response::getInstance(); $header = $response->getHeader(); $scripts = $header->getScripts(); $scripts->addFile('export.js'); [..]
And in js/export.js, the functions are called with the .ready() handler. F.e.: $(function() { toggle_save_to_file(); $("input[type='radio'][name='output_format']").change(toggle_save_to_file); });
I've noticed that none of the functions in js/export.js are triggered and deleting the whole content of the file actually leads to the same behavior of db_export.php (or tbl_export.php or server_export.php). But if you insert an alert without the $(function() {}); handler, it will pop-up. Is it possible that this is related to the way the script is included via the addFile() method in the PMA_Scripts class?
-- Alex