Mercurial > hg > soundsoftware-site
annotate public/javascripts/ssamr_registration.js @ 586:658cfb481618 feature_36
Order BibTeX entry types in a sensible order for presentation to user, instead of alphabetically by BibTeX name as previously (requires database re-seed).
Provide a label for each entry type, and use it in the edit dropdown and show page.
Omit duplicate entry type (conference) from edit dropdown.
Use existing entry attribute labels in show_bibtex_fields.
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 12 Aug 2011 13:15:05 +0100 |
parents | f5860b03d365 |
children | 827705e14b3b |
rev | line source |
---|---|
luisf@162 | 1 |
luisf@162 | 2 |
luisf@162 | 3 /* SSAMR specific functions */ |
luisf@162 | 4 |
luisf@162 | 5 /* institution related functions */ |
luisf@162 | 6 Event.observe(window, 'load', |
luis@212 | 7 function() { |
luis@192 | 8 if(!$('ssamr_user_details_institution_type_true').checked && $('ssamr_user_details_institution_type_true').checked){ |
luis@212 | 9 $('ssamr_user_details_other_institution').disable(); |
luis@212 | 10 $('ssamr_user_details_institution_id').enable(); |
luis@212 | 11 $('ssamr_user_details_institution_type_true').checked = true; |
luis@212 | 12 $('ssamr_user_details_institution_type_false').checked = false; |
luis@192 | 13 } |
luis@192 | 14 } |
luisf@162 | 15 ); |
luisf@162 | 16 |
luisf@162 | 17 |
luisf@162 | 18 |