Fix possible infinite loop

$ccForm doesn’t always work because ajax.