[Phpmyadmin-devel] [Console] Help, about AJAX callback

Edward Cheng c4150221 at gmail.com
Thu Jul 10 04:48:43 CEST 2014


Hi,

Till now, new console will log browse-generated-queries, but only
happend at global AJAX handler, because I add some code in global AJAX
handler:

    if(PMA_console && PMA_console.isEnabled) {
        PMA_console.ajaxCallback(data);
    }

We can copy code above to everywhere--to every custom ajax response
handler--it's terrible, do we have a better solution?


Thanks

-- 
Edward Cheng




More information about the Developers mailing list