view app/views/attachments/toggle_active.js.erb @ 1560:2c67e414ab46 feature_1136

Fix missed text change
author Chris Cannam
date Thu, 14 Jan 2016 10:54:56 +0000
parents 00e9a262ffe5
children
line wrap: on
line source
$('#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 %>');