aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.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/jot.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/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl2
1 files changed, 1 insertions, 1 deletions
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">