Just curious what this section is doing?
if (check) {
var r = confirm("<bean:messag
key="alert.msg.publisher.confirm.publish"/>")
if (r)
{
document.ResearchPaperForm.submit();
}
else
{
check = false;
}
}
If check is already true at that point why not just submit? What is if(r) doing?
My best method to troubleshoot jasvascript is just put alerts in there as an attempt to step thru the code.