diff --git a/app/views/discussions/_discussion_form.rhtml b/app/views/discussions/_discussion_form.rhtml index 5140149..9e3c739 100644 --- a/app/views/discussions/_discussion_form.rhtml +++ b/app/views/discussions/_discussion_form.rhtml @@ -5,7 +5,7 @@ <%= form_remote_tag :url => discussions_path, :update => { :success => 'comments', :failure => 'comment_errors' }, :position => 'bottom', - :loading => "Element.show('spinner'); Element.hide('preview')", + :loading => "Element.show('spinner');", :complete => "Element.hide('spinner'); $('discussion_form').elements['discussion_text'].value = ''; new Effect.Highlight('comments', {duration:0.75})", :html => { :id => 'discussion_form', :class => 'discussions' } %> <%= hidden_field_tag 'discussion[page_id]', @page.id %>