mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Allow percentage sorting
This commit is contained in:
@@ -79,7 +79,7 @@ function ts_resortTable(lnk,clid) {
|
||||
if (itm.match(/^[\d\.]+\s*(bytes|b|kb|tb|gb|mb)$/i)) sortfn = ts_sort_filesize;
|
||||
// Special cases for our mailbox lists
|
||||
if (itm.match(/^(Empty|Unlimited)$/)) sortfn = ts_sort_filesize;
|
||||
if (itm.match(/^[\d\.]+$/)) sortfn = ts_sort_numeric;
|
||||
if (itm.match(/^[\d\.]+%?$/)) sortfn = ts_sort_numeric;
|
||||
SORT_COLUMN_INDEX = column;
|
||||
var firstRow = new Array();
|
||||
var newRows = new Array();
|
||||
|
||||
Reference in New Issue
Block a user