diff options
author | Friendika <info@friendika.com> | 2011-02-14 04:46:49 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-14 04:46:49 -0800 |
commit | b87ddbd58aa2739521282f44a463be53c6397231 (patch) | |
tree | ea47d4ca6df492beaf1ffdc6fdfb4159513e9893 /view | |
parent | f37caa0999b4d9a7a1ef92b7996d3bec00150b2b (diff) | |
parent | df209907536a3c5e093b8ae95070ca9941c6c797 (diff) | |
download | volse-hubzilla-b87ddbd58aa2739521282f44a463be53c6397231.tar.gz volse-hubzilla-b87ddbd58aa2739521282f44a463be53c6397231.tar.bz2 volse-hubzilla-b87ddbd58aa2739521282f44a463be53c6397231.zip |
Merge branch 'ajaxcomms'
Conflicts:
view/comment_item.tpl
Diffstat (limited to 'view')
-rw-r--r-- | view/comment_item.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/view/comment_item.tpl b/view/comment_item.tpl index 1b1f3a49e..885d735ed 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" 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" /> @@ -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> |