Mercurial > hg > soundsoftware-site
view public/javascripts/ssamr_registration.js @ 255:a7002a8f0eca feature_80
Show a star (or similar) by active files, or a checkbox if permitted to edit them. Checkbox doesn't do anything yet
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 03 Mar 2011 19:35:02 +0000 |
parents | d1713ab10813 |
children | f5860b03d365 |
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; } } );