annotate app/views/watchers/new.js.erb @ 1458:b1f4c9a2af24
bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Mon, 11 Nov 2013 18:25:22 +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');
|