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']) . '">'
. T_('Edit')
. '</a>'
. '<script type="text/javascript">'
. 'document.write(" - <a href=\"#\" onclick=\"deleteBookmark(this, '. $row['bId'] .'); return false;\">'
. ' <a href="#" onclick="deleteBookmark(this, '. $row['bId'] .'); return false;">'
. T_('Delete')
.'<\/a>");</script>';
.'</a>';
}
// Last update