Translated using Weblate (Turkish)
[phpmyadmin.git] / js / server_plugins.js
blobdde5990fa79ae44ea2d3bd84852ff142d1085e3b
1 /* vim: set expandtab sw=4 ts=4 sts=4: */
2 /**
3  * Functions used in server plugins pages
4  */
5 AJAX.registerOnload('server_plugins.js', function () {
6         // Make columns sortable, but only for tables with more than 1 data row
7     var $tables = $('#plugins_plugins table:has(tbody tr + tr)');
8     $tables.tablesorter({
9         sortList: [[0, 0]],
10         headers: {
11             1: {sorter: false}
12         },
13         widgets: ['zebra']
14     });
15     $tables.find('thead th')
16         .append('<div class="sorticon"></div>');
17 });