annotate app/views/watchers/new.js.erb @ 1153:e1f00c0ed8ff redmine-2.2-integration

Map the toggle_active for attachments
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:39:59 +0000
parents 433d4f72a19b
children dffacf8a6908
rev   line source
Chris@1115 1 $('#ajax-modal').html('<%= escape_javascript(render :partial => 'watchers/new', :locals => {:watched => @watched}) %>');
Chris@1115 2 showModal('ajax-modal', '400px');
Chris@1115 3 $('#ajax-modal').addClass('new-watcher');