1 /* vim: set expandtab sw=4 ts=4 sts=4: */
6 * Unbind all event handlers before tearing down a page
8 AJAX.registerTeardown('server_status_queries.js', function () {
9 var queryPieChart = $('#serverstatusquerieschart').data('queryPieChart');
11 queryPieChart.destroy();
15 AJAX.registerOnload('server_status_queries.js', function () {
16 // Build query statistics chart
19 $.each($('#serverstatusquerieschart').data('chart'), function (key, value) {
20 cdata.push([key, parseInt(value, 10)]);
22 $('#serverstatusquerieschart').data(
24 PMA_createProfilingChart(
25 'serverstatusquerieschart',
30 // Could not load chart, no big deal...
33 initTableSorter('statustabs_queries');