diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-08 03:05:53 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-08 03:05:53 +0000 |
commit | e9d61d5f9df80e4304abf60f5dde99b54eefad71 (patch) | |
tree | 9b692baa6f5370d5f9e3ef3ffa2816ef5ae8c494 | |
parent | 8f9738e6d3f7be1b00c263de92cd32579e9be9aa (diff) |
"delete" is a reserved word in Chrome, apparently.
-rw-r--r-- | modules/comment/views/admin_comments.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index 022b9fee..b1f0aa97 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -9,7 +9,7 @@ var delete_url = "<?= url::site("admin/comments/delete/__ID__?csrf=" . access::csrf_token()) ?>"; - function delete(id) { + function del(id) { $.get(delete_url.replace("__ID__", id)); $("#gComment-" + id).slideUp(); } @@ -122,7 +122,7 @@ <? endif ?> <li> - <a href="javascript:delete(<?=$comment->id?>)"> + <a href="javascript:del(<?=$comment->id?>)"> <?= _("Delete") ?> </a> </li> |