view public/javascripts/ssamr_registration.js @ 442:753f1380d6bc cannam

Merge from branch "redmine-1.2"
author Chris Cannam
date Mon, 06 Jun 2011 14:41:04 +0100
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;
		}
	}
);