tmccormi/openemr — comment on commit f09996c11b88da509d3888edef042d8d7dc451ca
File: interface/reports/collections_report.php line 301
By yehster:

If it were my code, I would simplify the whole thing with jQuery and do something like
theform =$("#theform);
if(theform.find(":checked").length==0)
{
alert("");

+ return false;
}
else
{
theform.submit();
}