[Phpmyadmin-devel] Bug with properties system

Alex Marin alex.ukf at gmail.com
Mon Aug 13 16:09:27 CEST 2012

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();

And in js/export.js, the functions are called with the .ready() handler. F.e.:
$(function() {

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?


More information about the Developers mailing list