summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-22 07:59:26 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-22 07:59:26 -0700
commitb310fab1f8e88371e4f2f1fa41173e1fc5eddb60 (patch)
tree120fdd8a15b965326adb6c36e5425117485746d5 /modules/comment/views
parent78cce555c377b4dd3078a007c6c407cf4eb9f6dd (diff)
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.
Diffstat (limited to 'modules/comment/views')
-rw-r--r--modules/comment/views/comments.html.php2
1 files changed, 1 insertions, 1 deletions
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 @@
<? if (!$comments->count()): ?>
<p id="gNoCommentsYet">
<?= t("No comments yet. Be the first to <a %attrs>comment</a>!",
- 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\""))) ?>
</p>
<? endif ?>
<ul>