From 086a90b695755b1c1cdf41998614ed4ae931a861 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Sat, 21 Aug 2010 14:27:38 -0300 Subject: [PATCH] Allowing comments from webkit and IE --- app/views/content_viewer/_comment_form.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/content_viewer/_comment_form.rhtml b/app/views/content_viewer/_comment_form.rhtml index 4ab5d2f..f6ed11a 100644 --- a/app/views/content_viewer/_comment_form.rhtml +++ b/app/views/content_viewer/_comment_form.rhtml @@ -37,7 +37,7 @@ <%= required labelled_form_field(_('Title'), text_field(:comment, :title)) %> <%= required labelled_form_field(_('Enter your comment'), text_area(:comment, :body, :rows => 5)) %> <% button_bar do %> - <%= submit_button('add', _('Post comment'), :onclick => "$('confirm').value = 'true'; this.disabled = true") %> + <%= submit_button('add', _('Post comment'), :onclick => "$('confirm').value = 'true'; this.disabled = true; this.form.submit(); return true;") %> <% end %> <% end %> -- libgit2 0.21.2