diff options
author | N0YB <Al_Stu@Frontier.com> | 2015-06-15 12:25:37 -0700 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2015-06-15 12:25:37 -0700 |
commit | 7d8dd0b7373173bf52cc54a904a32593912e4bc3 (patch) | |
tree | adcfa716d30f96b022e9b2661c570349ef0c1af6 /usr | |
parent | bf2dba75b0e84940bf0526484fe5a045b5e907e3 (diff) | |
download | pfsense-7d8dd0b7373173bf52cc54a904a32593912e4bc3.zip pfsense-7d8dd0b7373173bf52cc54a904a32593912e4bc3.tar.gz |
Add semicolon
Fix delete Java Script to match valid HTML ID
Diffstat (limited to 'usr')
-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 8c71368..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_<?=str_replace("/", "-", $entry)?>"> + <tr id="entry_<?=str_replace("/", "-", $entry);?>"> <td> <?php echo $entry; ?> </td> |