aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/comment_item.tpl
diff options
context:
space:
mode:
authorAlexandre Hannud Abdo <abdo@member.fsf.org>2014-09-16 18:56:34 -0300
committerAlexandre Hannud Abdo <abdo@member.fsf.org>2014-09-16 19:00:53 -0300
commit5bdfc2f64780abd36d889dc0bbe52026b768631b (patch)
treeeb0c465158a33e0491d96e2000fa83a578e280ba /view/tpl/comment_item.tpl
parenteed6cbfb2a609536b62763aa8b412176c76b49c6 (diff)
downloadvolse-hubzilla-5bdfc2f64780abd36d889dc0bbe52026b768631b.tar.gz
volse-hubzilla-5bdfc2f64780abd36d889dc0bbe52026b768631b.tar.bz2
volse-hubzilla-5bdfc2f64780abd36d889dc0bbe52026b768631b.zip
Fix name attribute of button elements so jquery '.submit()' doesn't break
According to "Additional notes" in: http://api.jquery.com/submit/ Not fixing buttons created with 'input' tags.
Diffstat (limited to 'view/tpl/comment_item.tpl')
-rwxr-xr-xview/tpl/comment_item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index 351cc8e14..e68314797 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -58,7 +58,7 @@
<i class="icon-eye-open comment-icon" ></i>
</button>
{{/if}}
- <button id="comment-edit-submit-{{$id}}" class="btn btn-primary btn-xs" type="submit" name="submit" onclick="post_comment({{$id}}); return false;">{{$submit}}</button>
+ <button id="comment-edit-submit-{{$id}}" class="btn btn-primary btn-xs" type="submit" name="button-submit" onclick="post_comment({{$id}}); return false;">{{$submit}}</button>
</div>
</div>
<div class="clear"></div>