diff options
author | Ermal <eri@pfsense.org> | 2014-05-01 09:37:12 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-05-01 09:37:12 +0000 |
commit | 188b3b8842822f6bfb869c5a1c405910a4673a05 (patch) | |
tree | 79900697ef6acf4d1f89defc0e3aa78fb210a4bc | |
parent | 25f7f725740f6e1bdd8f1d9fa4aea338d2e6d3e9 (diff) | |
parent | b6ba57f67e16297fcb8b61460fb58f561122fdeb (diff) | |
download | pfsense-188b3b8842822f6bfb869c5a1c405910a4673a05.zip pfsense-188b3b8842822f6bfb869c5a1c405910a4673a05.tar.gz |
Merge pull request #1127 from phil-davis/patch-6
-rw-r--r-- | usr/local/www/diag_tables.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_tables.php b/usr/local/www/diag_tables.php index fdfc99a..00eba74 100644 --- a/usr/local/www/diag_tables.php +++ b/usr/local/www/diag_tables.php @@ -106,7 +106,7 @@ if ($savemsg) print_info_box($savemsg); window.location='diag_tables.php?type=' + entrytype; } function del_entry(entry) { - jQuery.ajax("diag_tables.php?type=<?php echo htmlspecialchars($tablename);?>&delete=" + entry, { + jQuery.ajax("diag_tables.php?type=<?php echo htmlspecialchars($tablename);?>&delete=" + entry, { complete: function(response) { if (200 == response.status) { // Escape all dots to not confuse jQuery selectors @@ -154,7 +154,7 @@ if ($savemsg) print_info_box($savemsg); </tr> <?php $count = 0; foreach($entries as $entryA): ?> <?php $entry = trim($entryA); ?> - <tr id='table_row_<?=$count?>'> + <tr id='<?=$entry?>'> <td> <?php echo $entry; ?> </td> |