diff options
Diffstat (limited to 'usr/local/www/diag_tables.php')
-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> |