annotate public/javascripts/repository.js @ 1153:e1f00c0ed8ff redmine-2.2-integration

Map the toggle_active for attachments
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:39:59 +0000
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