embed the delete link directly in html instead of using javascript

This commit is contained in:
Christian Weiske 2010-10-09 12:15:11 +02:00
parent 894011dd0f
commit 2e89b28ed9

View file

@ -296,10 +296,9 @@ if ($currenttag!= '') {
$edit = ' - <a href="' . createURL('edit', $row['bId']) . '">' $edit = ' - <a href="' . createURL('edit', $row['bId']) . '">'
. T_('Edit') . T_('Edit')
. '</a>' . '</a>'
. '<script type="text/javascript">' . ' <a href="#" onclick="deleteBookmark(this, '. $row['bId'] .'); return false;">'
. 'document.write(" - <a href=\"#\" onclick=\"deleteBookmark(this, '. $row['bId'] .'); return false;\">'
. T_('Delete') . T_('Delete')
.'<\/a>");</script>'; .'</a>';
} }
// Last update // Last update