Mercurial > hg > soundsoftware-site
annotate 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 |
rev | line source |
---|---|
chris@1355 | 1 function toggle_ext_url() { |
chris@1355 | 2 if (document.getElementById('repository_is_external').checked) { |
chris@1355 | 3 document.getElementById('repository_external_url').disabled = false; |
chris@1355 | 4 } else { |
chris@1355 | 5 document.getElementById('repository_external_url').disabled = true; |
chris@1355 | 6 } |
luis@212 | 7 } |
luis@212 | 8 |