Merge pull request #180 from bergware/6.4-wip

Tablesorter updates
This commit is contained in:
tom mortensen
2017-10-03 07:38:14 -07:00
committed by GitHub
5 changed files with 7 additions and 16 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ $(function(){
$.cookie('col',sort[0],{path:'/'});
$.cookie('dir',sort[1],{path:'/'});
});
table.tablesorter({sortList:[[col,dir],[1,0]],sortAppend:[[1,0]],textExtraction:function(n,t,i){return $(n).attr('data')||$(n).text();}});
table.tablesorter({sortList:[[col,dir],[1,0]],sortAppend:[[1,0]],textAttribute:'data'});
});
});
</script>
+1 -1
View File
@@ -48,7 +48,7 @@ function archiveList(init) {
<?if ($display['resize']):?>
resize();
<?endif;?>
$('#archive_table').tablesorter({headers:{5:{sorter:false}},textExtraction:function(n,t,i){return $(n).attr('data')||$(n).text();}});
$('#archive_table').tablesorter({headers:{5:{sorter:false}},textAttribute:'data'});
} else {
$('#archive_table').trigger('update');
}