Tablesorter optimization

This commit is contained in:
bergware
2017-10-03 09:44:05 +02:00
parent a5cd41a49c
commit 63ca930ec1
4 changed files with 4 additions and 14 deletions
+1 -6
View File
@@ -41,12 +41,7 @@ function update_table(branch) {
$(function() {
$.get('/plugins/dynamix.plugin.manager/include/ShowPlugins.php',{system:'true',audit:<?=$audit?>},function(data) {
if (data) $('#os_list').html(data);
$('#os_table').tablesorter({
sortList:[[4,0],[1,0]],
sortAppend:[[1,0]],
headers:{0:{sorter:false},5:{sorter:false}},
textExtraction:function(n,t,i){return $(n).attr('data')||$(n).text();}
});
$('#os_table').tablesorter({sortList:[[4,0],[1,0]],sortAppend:[[1,0]],headers:{0:{sorter:false},5:{sorter:false}},textAttribute:'data'});
<?if (preg_match("/^\*\*REBOOT REQUIRED\!\*\*/",@file_get_contents("$docroot/plugins/unRAIDServer/README.md"))):?>
$('#change_branch').prop('disabled',true);
<?endif;?>