From b310fab1f8e88371e4f2f1fa41173e1fc5eddb60 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 22 Sep 2009 07:59:26 -0700 Subject: Change the link on the "Be first to comment" link to do a request to the server to get the comment add form. Fixes ticket #699. --- modules/comment/views/comments.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/views') diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 7eb34c20..dd706a23 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -8,7 +8,7 @@ count()): ?>

comment!", - array("attrs" => html::mark_clean("href=\"#add_comment_form\" class=\"showCommentForm\""))) ?> + array("attrs" => html::mark_clean("id= \"gNoComments\" href=\"" . url::site("form/add/comments/{$item->id}") . "\" class=\"showCommentForm\""))) ?>