1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-25 06:39:48 +03:00
Files
phpmyadmin/js/server_plugins.js
Christian Foellmann 718ef314e3 UPDATE 4.5.0.1
2015-09-24 12:19:45 +02:00

15 lines
464 B
JavaScript

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in server plugins pages
*/
AJAX.registerOnload('server_plugins.js', function () {
// Make columns sortable, but only for tables with more than 1 data row
var $tables = $('#plugins_plugins table:has(tbody tr + tr)');
$tables.tablesorter({
sortList: [[0, 0]],
widgets: ['zebra']
});
$tables.find('thead th')
.append('<div class="sorticon"></div>');
});