summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2015-06-15 12:25:37 -0700
committerN0YB <Al_Stu@Frontier.com>2015-06-15 12:25:37 -0700
commit7d8dd0b7373173bf52cc54a904a32593912e4bc3 (patch)
treeadcfa716d30f96b022e9b2661c570349ef0c1af6 /usr/local/www
parentbf2dba75b0e84940bf0526484fe5a045b5e907e3 (diff)
downloadpfsense-7d8dd0b7373173bf52cc54a904a32593912e4bc3.zip
pfsense-7d8dd0b7373173bf52cc54a904a32593912e4bc3.tar.gz
Add semicolon
Fix delete Java Script to match valid HTML ID
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/diag_tables.php5
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>
OpenPOWER on IntegriCloud