annotate public/javascripts/repository.js @ 607:bdaabf6ee591 feature_36

added the @author_options array to the create action so that the validations still work
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 18 Aug 2011 17:44:12 +0100
parents f5860b03d365
children 3d01be97cb5a
rev   line source
luis@212 1 function toggle_ext_url(){
luis@212 2 if($('repository_is_external').checked)
luis@212 3 $('repository_external_url').enable();
luis@212 4 else
luis@212 5 $('repository_external_url').disable();
luis@212 6 }
luis@212 7