diff options
author | Renato Botelho <renato@netgate.com> | 2015-06-25 08:29:54 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-06-25 08:29:54 -0300 |
commit | aa676b75495d5f9cef2fea7c1636b4aba9e1fe9b (patch) | |
tree | f8ba121f0b7d8dfeeb4ec7c89d592dd680efdb2d /usr/local/www | |
parent | 47b09af7b0b536e762a85e8c2647389b6a0b09e1 (diff) | |
parent | 7d8dd0b7373173bf52cc54a904a32593912e4bc3 (diff) | |
download | pfsense-aa676b75495d5f9cef2fea7c1636b4aba9e1fe9b.zip pfsense-aa676b75495d5f9cef2fea7c1636b4aba9e1fe9b.tar.gz |
Merge pull request #1719 from N0YB/XHTML_Compliance_Diagnostics_Tables
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/diag_tables.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/diag_tables.php b/usr/local/www/diag_tables.php index 289d39f..fe6778f 100644 --- a/usr/local/www/diag_tables.php +++ b/usr/local/www/diag_tables.php @@ -114,7 +114,8 @@ include("head.inc"); if (200 == response.status) { // Escape all dots to not confuse jQuery selectors name = response.responseText.replace(/\./g,'\\.'); - name = name.replace(/\//g,'\\/'); + name = name.replace(/\//g,'\\-'); + name = "entry_" + name; jQuery('#' + name).fadeOut(1000); } } @@ -147,7 +148,7 @@ include("head.inc"); foreach ($entries as $entryA): $entry = trim($entryA); ?> - <tr id="<?=$entry?>"> + <tr id="entry_<?=str_replace("/", "-", $entry);?>"> <td> <?php echo $entry; ?> </td> |