diff options
author | N0YB <Al_Stu@Frontier.com> | 2014-01-27 22:49:32 -0800 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2014-01-27 22:49:32 -0800 |
commit | 93dcedc1ec731d016e1f87fd8a77284f38c48d0b (patch) | |
tree | 6276b5ac8d99cdd23f98af013d7257b7f906a0e6 /usr/local/www/javascript | |
parent | 4efc1c8df612199b71e125263a7c38984810b71c (diff) | |
download | pfsense-93dcedc1ec731d016e1f87fd8a77284f38c48d0b.zip pfsense-93dcedc1ec731d016e1f87fd8a77284f38c48d0b.tar.gz |
XHTML Compliance - Status: System logs: Firewall
An attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
Quote (or escape) the quotes so they show up in the HTML.
Use style where attribute not supported.
Relocate tfoot to supported location and add tbody.
Apply htmlspecialchars to rule name.
Assorted tweaks.
Diffstat (limited to 'usr/local/www/javascript')
-rw-r--r-- | usr/local/www/javascript/sorttable.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/javascript/sorttable.js b/usr/local/www/javascript/sorttable.js index ce2e68a..a780aa5 100644 --- a/usr/local/www/javascript/sorttable.js +++ b/usr/local/www/javascript/sorttable.js @@ -74,8 +74,8 @@ sorttable = { if (headrow == undefined) return; - if (table.getAttribute("sortableMultirow") != undefined) - sortableMultirow = parseInt(table.getAttribute("sortableMultirow")); + if (table.style.sortableMultirow != undefined) + sortableMultirow = parseInt(table.style.sortableMultirow); else sortableMultirow = 1; @@ -247,8 +247,8 @@ sorttable = { hasInputs = (typeof node.getElementsByTagName == 'function') && node.getElementsByTagName('input').length; - if (node.getAttribute("sorttable_customkey") != null) { - return node.getAttribute("sorttable_customkey"); + if (node.style.sorttable_customkey != null) { + return node.style.sorttable_customkey; } else if (typeof node.textContent != 'undefined' && !hasInputs) { return node.textContent.replace(/^\s+|\s+$/g, ''); |