Mercurial > hg > soundsoftware-site
view public/javascripts/ssamr_registration.js @ 1013:b98f60a6d231 live
Avoid crashing out with weird event types that don't give us a proper author record
author | Chris Cannam |
---|---|
date | Mon, 12 Nov 2012 14:55:11 +0000 |
parents | f5860b03d365 |
children | 827705e14b3b |
line wrap: on
line source
/* SSAMR specific functions */ /* institution related functions */ Event.observe(window, 'load', function() { if(!$('ssamr_user_details_institution_type_true').checked && $('ssamr_user_details_institution_type_true').checked){ $('ssamr_user_details_other_institution').disable(); $('ssamr_user_details_institution_id').enable(); $('ssamr_user_details_institution_type_true').checked = true; $('ssamr_user_details_institution_type_false').checked = false; } } );