Sha256: 99a534cd283ccce7ad5777c7aa6785d94515d63a8184bea1121e660f3929af44

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

- if @new_comment.errors.empty?
  window.location.href = '#{task_path(current_task)}';
- else
  $("#new-comment").replaceWith("#{j render(partial: 'rails_execution/tasks/new_comment', locals: { comment: @new_comment, alert: @alert })}");
  hljs.highlightAll();
  window.comments.initAddNewComment('comment_content');

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_execution-0.1.12 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.11 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.10 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.9 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.8 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.7 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.5 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.4 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.2 app/views/rails_execution/comments/create.js.haml
rails_execution-0.1.1 app/views/rails_execution/comments/create.js.haml