Mercurial > hg > soundsoftware-site
diff public/javascripts/application.js @ 161:bad82329a115 feature_55
new javascript for institution field handling.
author | luisf |
---|---|
date | Mon, 31 Jan 2011 13:41:00 +0000 |
parents | 7eb2194ee428 |
children | 73ff0e6a11b1 |
line wrap: on
line diff
--- a/public/javascripts/application.js Fri Jan 28 18:44:56 2011 +0000 +++ b/public/javascripts/application.js Mon Jan 31 13:41:00 2011 +0000 @@ -241,28 +241,5 @@ Event.observe(window, 'load', hideOnLoad); -/* SSAMR specific functions */ -/* institution related functions */ -Event.observe(window, 'load', - function() { - if($('ssamr_user_details_institution_type_true').checked) - $('ssamr_user_details_other_institution').disable(); - else if($('ssamr_user_details_institution_type_false').checked) - $('ssamr_user_details_institution_id').disable(); - } -); - -function enable_disable_institution_field(field){ - - // if($(field).enabled) - // field.disable(); - // else - field.enable(); - -} - - - -