Skip to content

Commit

Permalink
typographic theme make prototype call. Just comment them: FIXME this …
Browse files Browse the repository at this point in the history
…themes can't work right now
  • Loading branch information
Thomas Lecavelier committed Oct 16, 2013
1 parent fadf85a commit 2c4d517
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions themes/typographic/views/articles/_comment_form.html.erb
@@ -1,5 +1,6 @@
<%= form_remote_tag :url => @article.comment_url,
<%= form_tag :url => @article.comment_url,
:position => :bottom,
:remote => true,
:update => {:success => 'commentList'},
:loading => "loading()",
:complete => "complete(request)",
Expand Down Expand Up @@ -40,12 +41,12 @@
<% end %>

<p class="buttons">
<%= submit_to_remote('preview', _('Preview') + '!',
<%#= submit_to_remote('preview', _('Preview') + '!',
:update => 'preview',
:complete => "Element.show('preview')",
:url => @article.preview_comment_url,
:html => {:class => 'submit', :id => 'form-preview-button'}) %>
<%= submit_tag _('Submit'), :id => 'form-submit-button', :class => 'submit', :onclick => "$('commentform').onsubmit();this.disabled=true;Element.hide('preview');return false;" %>
<%#= submit_tag _('Submit'), :id => 'form-submit-button', :class => 'submit', :onclick => "$('commentform').onsubmit();this.disabled=true;Element.hide('preview');return false;" %>
<%= image_tag 'theme/spinner.gif', :id => 'comment_loading', :style => 'display:none' %>
</p>
</div>
Expand Down

0 comments on commit 2c4d517

Please sign in to comment.