You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
429 B
16 lines
429 B
/** |
|
* 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]], |
|
headers: { |
|
1: { |
|
sorter: false |
|
} |
|
} |
|
}); |
|
$tables.find('thead th').append('<div class="sorticon"></div>'); |
|
}); |