Difference between revisions of "MediaWiki:Newarticleassistant-formscript"

m
no edit summary
m
m
$sourceType = $(this).val();
if ($sourceType == 'exclusive' || $sourceType == 'none') {
$('#bnSourcename').attr('disabled', true).closest('tr').fadeTo('fast', 0.5);
$('#bnSourcelink').attr('disabled', true).closest('tr').fadeTo('fast', 0.5);
} else {
$('#bnSourcename').removeAttr('disabled').closest('tr').fadeTo('fast', 1.0);
$('#bnSourcelink').removeAttr('disabled').closest('tr').fadeTo('fast', 1.0);
}
});
 
$('#bnSourcename').attr('disabled', true).closest('tr').fadeTo(0, 0.5);
$('#bnSourcelink').attr('disabled', true).closest('tr').fadeTo(0, 0.5);
});
/* </pre> */