view public/javascripts/repository.js @ 1612:2496b955f638 deploy

Fix auth handler for non-public repos, + add to smoke test
author Chris Cannam
date Wed, 30 Aug 2017 15:51:18 +0100
parents 3d01be97cb5a
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;
    }
}