view public/javascripts/repository.js @ 1355:3d01be97cb5a bug_635

Fix routes and safe attributes for the external repo settings
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 18 Jul 2013 12:13:20 +0100
parents f5860b03d365
children
line wrap: on
line source
function toggle_ext_url() {
    if (document.getElementById('repository_is_external').checked) {
        document.getElementById('repository_external_url').disabled = false;
    } else {
	document.getElementById('repository_external_url').disabled = true;
    }
}