Mercurial > hg > soundsoftware-site
annotate public/javascripts/ssamr_registration.js @ 462:b02b2eb2a312 feature_36
Searching for publications via AJAX call; the publication ID is not being sent correctly, so still shows the current publication's associated projects in the select list.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 21 Jun 2011 01:27:41 +0100 |
parents | f5860b03d365 |
children | 827705e14b3b |
rev | line source |
---|---|
luisf@162 | 1 |
luisf@162 | 2 |
luisf@162 | 3 /* SSAMR specific functions */ |
luisf@162 | 4 |
luisf@162 | 5 /* institution related functions */ |
luisf@162 | 6 Event.observe(window, 'load', |
luis@212 | 7 function() { |
luis@192 | 8 if(!$('ssamr_user_details_institution_type_true').checked && $('ssamr_user_details_institution_type_true').checked){ |
luis@212 | 9 $('ssamr_user_details_other_institution').disable(); |
luis@212 | 10 $('ssamr_user_details_institution_id').enable(); |
luis@212 | 11 $('ssamr_user_details_institution_type_true').checked = true; |
luis@212 | 12 $('ssamr_user_details_institution_type_false').checked = false; |
luis@192 | 13 } |
luis@192 | 14 } |
luisf@162 | 15 ); |
luisf@162 | 16 |
luisf@162 | 17 |
luisf@162 | 18 |