Welcome to mirror list, hosted at ThFree Co, Russian Federation.

server_plugins.js « js - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc63827fec5a4f37c188ae3a2d6de9d68df317d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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>');
});