Commit 086a90b695755b1c1cdf41998614ed4ae931a861
Committed by
Antonio Terceiro
1 parent
e3435953
Exists in
master
and in
29 other branches
Allowing comments from webkit and IE
(ActionItem1642)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/content_viewer/_comment_form.rhtml
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | <%= required labelled_form_field(_('Title'), text_field(:comment, :title)) %> |
38 | 38 | <%= required labelled_form_field(_('Enter your comment'), text_area(:comment, :body, :rows => 5)) %> |
39 | 39 | <% button_bar do %> |
40 | - <%= submit_button('add', _('Post comment'), :onclick => "$('confirm').value = 'true'; this.disabled = true") %> | |
40 | + <%= submit_button('add', _('Post comment'), :onclick => "$('confirm').value = 'true'; this.disabled = true; this.form.submit(); return true;") %> | |
41 | 41 | <% end %> |
42 | 42 | <% end %> |
43 | 43 | ... | ... |