view public/javascripts/repository.js @ 610:e9274ba9c1b3 feature_36

Fixes Bug #272 - the toggle author button calls button_to_remote instead of button_to, which does not have a type="submit" tag. Minor interface changes.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 22 Aug 2011 12:32:02 +0100
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();
}