From dd7ba16e8bf9d5f6ec18a8ff2151e5c92e8b146e Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Tue, 10 Nov 2015 15:12:37 -0500 Subject: sortable library reverted to min version --- src/usr/local/www/diag_routes.php | 15 ++------------- src/usr/local/www/foot.inc | 2 +- src/usr/local/www/sortable/LICENSE | 19 +++++++++++++++++++ src/usr/local/www/sortable/sortable.min.js | 2 ++ 4 files changed, 24 insertions(+), 14 deletions(-) create mode 100755 src/usr/local/www/sortable/LICENSE create mode 100755 src/usr/local/www/sortable/sortable.min.js (limited to 'src') diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php index c2a5bc0..b8049e1 100644 --- a/src/usr/local/www/diag_routes.php +++ b/src/usr/local/www/diag_routes.php @@ -192,17 +192,6 @@ function update_routes_callback(html) { $('#' + section + ' > thead').html(thead); $('#' + section + ' > tbody').html(tbody); - - $('div.panel').find('*').removeAttr('data-sortable'); - $('div.panel').find('*').removeAttr('data-sortable-initialized'); - $('div.panel').find('*').removeAttr('data-sorted-direction'); - $('div.panel').find('*').removeAttr('data-sorted'); - - exampleTable = document.querySelector('#IPv4'); - Sortable.initTable(exampleTable); - - exampleTable = document.querySelector('#IPv6'); - Sortable.initTable(exampleTable); } function update_all_routes() { @@ -225,7 +214,7 @@ events.push(function(){

IPv4 Routes

- +
@@ -243,7 +232,7 @@ events.push(function(){

IPv6 Routes

-
+
diff --git a/src/usr/local/www/foot.inc b/src/usr/local/www/foot.inc index 980de3f..d900474 100755 --- a/src/usr/local/www/foot.inc +++ b/src/usr/local/www/foot.inc @@ -26,7 +26,7 @@ - +