view public/javascripts/repository.js @ 760:b2a9e64b8283 feature_14

Fixes Bug #322, but is not self-contained in the plugin (basically I'm editing the original projects controller…)
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 11 Nov 2011 18:32:51 +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();
}