aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-09-17 16:07:00 +1000
committerRedMatrix <info@friendica.com>2014-09-17 16:07:00 +1000
commitfd37d9c92a4fd8227fdf42cf907ba94e23c63153 (patch)
tree6a6c94b3d6182f47518b9ea943cb78168af83d0f
parent0090cbf84b6679a72ac164dfb86a701ed0faa601 (diff)
parent5bdfc2f64780abd36d889dc0bbe52026b768631b (diff)
downloadvolse-hubzilla-fd37d9c92a4fd8227fdf42cf907ba94e23c63153.tar.gz
volse-hubzilla-fd37d9c92a4fd8227fdf42cf907ba94e23c63153.tar.bz2
volse-hubzilla-fd37d9c92a4fd8227fdf42cf907ba94e23c63153.zip
Merge pull request #595 from solstag/master
Fix name attribute of button elements so jquery '.submit()' doesn't brea...
-rwxr-xr-xview/tpl/comment_item.tpl2
-rwxr-xr-xview/tpl/jot.tpl2
2 files changed, 2 insertions, 2 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>
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index c4fdba0f5..c51dc02a5 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -85,7 +85,7 @@
<i class="icon-eye-open jot-icons" ></i>
</button>
{{/if}}
- <button class="btn btn-primary btn-sm" type="submit" name="submit">{{$share}}</button>
+ <button class="btn btn-primary btn-sm" type="submit" name="button-submit">{{$share}}</button>
</div>
<div id="profile-jot-perms-end"></div>
<div id="profile-jot-plugin-wrapper">