annotate app/views/attachments/toggle_active.js.erb @ 1231:c2e85aec91b2 redmine-2.2-integration

Update Rails version
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 13 Mar 2013 11:11:16 +0000
parents 00e9a262ffe5
children
rev   line source
chris@1158 1 $('#active-<%= @attachment.id %>').html('<%= link_to image_tag(@attachment.active? ? 'fav.png' : 'fav_off.png'), {:controller => 'attachments', :action => 'toggle_active', :project_id => @project.id, :id => @attachment}, :remote => true %>');