comparison public/javascripts/ssamr_registration.js @ 1337:077b8890835a cannam

Merge from live branch
author Chris Cannam
date Thu, 20 Jun 2013 13:14:02 +0100
parents 5bafe0f91f6e
children
comparison
equal deleted inserted replaced
1304:6137548ba453 1337:077b8890835a
1
2
3 /* SSAMR specific functions */ 1 /* SSAMR specific functions */
4 2
5 /* institution related functions */ 3 /* initialisation: disabling the other institution text box */
6 Event.observe(window, 'load', 4 $(document).ready(function(){
7 function() { 5 $('#ssamr_user_details_other_institution').attr('disabled', 'disabled');
8 if(!$('ssamr_user_details_institution_type_true').checked && $('ssamr_user_details_institution_type_true').checked){ 6 });
9 $('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 }
14 }
15 );
16
17
18