To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / public / javascripts / ssamr_registration.js @ 443:350acce374a2
History | View | Annotate | Download (501 Bytes)
| 1 | 162:bd3f92477cbb | luisf | |
|---|---|---|---|
| 2 | |||
| 3 | /* SSAMR specific functions */
|
||
| 4 | |||
| 5 | /* institution related functions */
|
||
| 6 | Event.observe(window, 'load',
|
||
| 7 | 212:f5860b03d365 | luis | function() {
|
| 8 | 192:d1713ab10813 | luis | if(!$('ssamr_user_details_institution_type_true').checked && $('ssamr_user_details_institution_type_true').checked){ |
| 9 | 212:f5860b03d365 | luis | $('ssamr_user_details_other_institution').disable(); |
| 10 | $('ssamr_user_details_institution_id').enable(); |
||
| 11 | $('ssamr_user_details_institution_type_true').checked = true; |
||
| 12 | $('ssamr_user_details_institution_type_false').checked = false; |
||
| 13 | 192:d1713ab10813 | luis | } |
| 14 | } |
||
| 15 | 162:bd3f92477cbb | luisf | ); |
| 16 | |||
| 17 |