aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorChris Case <kahotep@bunda.dreamhost.com>2011-02-14 11:50:08 -0800
committerChris Case <kahotep@bunda.dreamhost.com>2011-02-14 11:50:08 -0800
commit7b265005107f12fa1e5768853e280a8f0b68eeac (patch)
tree8d178994704419c8f9b93289913af92a61caa2e8 /view
parent42eb6dd723abd31aaaf6c1608f2dec645f4e20b5 (diff)
parentfe1a37074af43f17aac5859b1aaf37fde4b58ae9 (diff)
downloadvolse-hubzilla-7b265005107f12fa1e5768853e280a8f0b68eeac.tar.gz
volse-hubzilla-7b265005107f12fa1e5768853e280a8f0b68eeac.tar.bz2
volse-hubzilla-7b265005107f12fa1e5768853e280a8f0b68eeac.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'view')
-rw-r--r--view/comment_item.tpl13
1 files changed, 7 insertions, 6 deletions
diff --git a/view/comment_item.tpl b/view/comment_item.tpl
index 6f63e39b7..885d735ed 100644
--- a/view/comment_item.tpl
+++ b/view/comment_item.tpl
@@ -1,9 +1,9 @@
<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" >
- <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" />
- <input id="f-return-path-$id" type="hidden" name="return" value="$return_path" />
+ <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ <input type="hidden" name="type" value="$type" />
+ <input type="hidden" name="profile_uid" value="$profile_uid" />
+ <input type="hidden" name="parent" value="$parent" />
+ <input type="hidden" name="return" value="$return_path" />
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
@@ -13,9 +13,10 @@
<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>
</form>
+
</div>