aboutsummaryrefslogtreecommitdiffstats
path: root/view/comment_item.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-12 03:42:57 -0800
committerFriendika <info@friendika.com>2011-02-12 03:42:57 -0800
commitee46a028d6e443d4cffcd24a99871d88089a93c9 (patch)
tree5152669744a55e90b8840fc55f1ece2134040f71 /view/comment_item.tpl
parent3d9845f4a45f963161e31fe18d69ed31e38af003 (diff)
downloadvolse-hubzilla-ee46a028d6e443d4cffcd24a99871d88089a93c9.tar.gz
volse-hubzilla-ee46a028d6e443d4cffcd24a99871d88089a93c9.tar.bz2
volse-hubzilla-ee46a028d6e443d4cffcd24a99871d88089a93c9.zip
more test ajax comments
Diffstat (limited to 'view/comment_item.tpl')
-rw-r--r--view/comment_item.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/comment_item.tpl b/view/comment_item.tpl
index 2f1a8393f..068cf0731 100644
--- a/view/comment_item.tpl
+++ b/view/comment_item.tpl
@@ -1,5 +1,5 @@
<div class="comment-$wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
- <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" >
+ <form class="comment-edit-form" id="comment-edit-form-$id" method="post" onsubmit="post_comment($id); return false;">
<input id="f-type-$id" type="hidden" name="type" value="$type" />
<input id="f-profile-uid-$id" type="hidden" name="profile_uid" value="$profile_uid" />
<input id="f-parent-$id" type="hidden" name="parent" value="$parent" />
@@ -13,7 +13,7 @@
<div class="comment-edit-text-end"></div>
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
- <input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
+ <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
</div>
<div class="comment-edit-end"></div>