diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 15:33:03 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 15:33:03 -0400 |
commit | ff9d67280987862f5ab5c25d2de51f972240f34d (patch) | |
tree | c29338083a6b846923678c34f9d78bf9df4868b3 /usr/local/www/javascript/sorttable.js | |
parent | 0f78d3ad6a5713a94dc54493f0946644e17c8058 (diff) | |
download | pfsense-ff9d67280987862f5ab5c25d2de51f972240f34d.zip pfsense-ff9d67280987862f5ab5c25d2de51f972240f34d.tar.gz |
Modify sortable.js to work on tabcont as opposed to sortable class. This has the effect of making any table that has a single header sortable instead of having to visit each page. Sponsored-by: BSD Perimeter Commercial Support
Diffstat (limited to 'usr/local/www/javascript/sorttable.js')
-rw-r--r-- | usr/local/www/javascript/sorttable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/javascript/sorttable.js b/usr/local/www/javascript/sorttable.js index 25bccb2..8980741 100644 --- a/usr/local/www/javascript/sorttable.js +++ b/usr/local/www/javascript/sorttable.js @@ -32,7 +32,7 @@ sorttable = { sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { - if (table.className.search(/\bsortable\b/) != -1) { + if (table.className.search(/\btabcont\b/) != -1) { sorttable.makeSortable(table); } }); |