Mercurial > hg > soundsoftware-site
annotate 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 |
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 |