Sha256: c5279a22f3241cdd4e83306fc0ff2fe22c0317ec23a2f28cf2eede3349b063a9
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
$(document).delegate ".comment_edit_form_link", 'click', (e)-> e.preventDefault() link = $(e.currentTarget) target = $(link.attr('href')) $('.comment_edit_form').addClass('hidden').closest('.comment_block').find(".content_block").removeClass('hidden') target.removeClass('hidden').closest('.comment_block').find(".content_block").addClass('hidden')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin_comments-0.1.1 | app/assets/javascripts/rails_admin/rails_admin_comments.coffee |
rails_admin_comments-0.1.0 | app/assets/javascripts/rails_admin/rails_admin_comments.coffee |