view 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
line wrap: on
line source
function toggle_ext_url(){
	if($('repository_is_external').checked)
	    $('repository_external_url').enable();
	else
	    $('repository_external_url').disable();
}