view app/views/attachments/toggle_active.js.erb @ 1159:b619a667a8e8 redmine-2.2-integration

fixes parameters for bibtex class to_citeproc call.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 15 Jan 2013 17:25:49 +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 %>');