annotate app/views/attachments/toggle_active.js.erb @ 1487:e6d8c818a49d
redmine-2.4-integration
ActionController paginator -> Redmine paginator
author |
Chris Cannam |
date |
Wed, 15 Jan 2014 13:50:04 +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 %>');
|