Mercurial > hg > soundsoftware-site
comparison public/javascripts/ssamr_institutions.js @ 189:b55279e641b8 cannam-pre-20110113-merge
Merge from branch "feature_55"
author | Chris Cannam |
---|---|
date | Thu, 03 Feb 2011 15:55:45 +0000 |
parents | f9fe5ef6156e |
children | 90d92ad3fc59 |
comparison
equal
deleted
inserted
replaced
187:752184172a34 | 189:b55279e641b8 |
---|---|
17 | 17 |
18 if($('ssamr_user_details_institution_type_true').checked) | 18 if($('ssamr_user_details_institution_type_true').checked) |
19 $('ssamr_user_details_other_institution').disable(); | 19 $('ssamr_user_details_other_institution').disable(); |
20 else if($('ssamr_user_details_institution_type_false').checked) | 20 else if($('ssamr_user_details_institution_type_false').checked) |
21 $('ssamr_user_details_institution_id').disable(); | 21 $('ssamr_user_details_institution_id').disable(); |
22 else { | |
23 $('ssamr_user_details_other_institution').disable(); | |
24 $('ssamr_user_details_institution_id').enable(); | |
25 $('ssamr_user_details_institution_type_true').checked = true; | |
26 $('ssamr_user_details_institution_type_false').checked = false; | |
27 } | |
22 } | 28 } |
23 ); | 29 ); |
24 | 30 |
25 | 31 |
26 | 32 |