embed the delete link directly in html instead of using javascript
This commit is contained in:
parent
894011dd0f
commit
2e89b28ed9
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue