Question
setSubmitClicked error
I have an error that is way over my head in trying to debug
it. It only happens in live environment on a ChrystalTech shared
server. Everything works fine on my development edition server.
Both servers are same version (8.1)
I have a CFForm that contains cflayout tabs. When the site went live all was working fine but since then (nothing has changed in my code) tabs are gone and the page just scrolls down. Firebug reports the following error right after the call that returns the page:
ColdFusion.setSubmitClicked is not a function
(no name)()cfajax.js (line 990)
fire()cfajax.js (line 1084)
_2c0(XMLHttpRequest, div#mainedit)cfajax.js (line 885)
callback(XMLHttpRequest, function(), div#mainedit)cfajax.js (line 172)
onreadystatechange()cfajax.js (line 125)
[Break on this error] $C.handleError(_2c8,"ajax.replacehtml.jserror","http",[_2c7.id,ex]);
Here is what I think is the relevant portion of the response as reported by Firebug:
<script type="text/javascript">
ColdFusion.Ajax.checkImportedTag('CFFORM');
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachFname']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachLname']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachBirthday']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachEmail']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachCell']=true;
</script>
<script type="text/javascript">
var _cf_SUBMIT_init_1213386677126=function()
{
ColdFusion.setSubmitClicked('form_Coach','submit');
};ColdFusion.Event.registerOnLoad(_cf_SUBMIT_init_1213386677126,{_cf_containerId:'mainedit'});
</script>
Apparently this has something to do with CFFORM onSubmit validation and some code CF generates but then complains about.
Validation does not seem to be affected by this, only the tab layout is broken.
What could be the problem?
I have a CFForm that contains cflayout tabs. When the site went live all was working fine but since then (nothing has changed in my code) tabs are gone and the page just scrolls down. Firebug reports the following error right after the call that returns the page:
ColdFusion.setSubmitClicked is not a function
(no name)()cfajax.js (line 990)
fire()cfajax.js (line 1084)
_2c0(XMLHttpRequest, div#mainedit)cfajax.js (line 885)
callback(XMLHttpRequest, function(), div#mainedit)cfajax.js (line 172)
onreadystatechange()cfajax.js (line 125)
[Break on this error] $C.handleError(_2c8,"ajax.replacehtml.jserror","http",[_2c7.id,ex]);
Here is what I think is the relevant portion of the response as reported by Firebug:
<script type="text/javascript">
ColdFusion.Ajax.checkImportedTag('CFFORM');
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachFname']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachLname']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachBirthday']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachEmail']=true;
</script>
<script type="text/javascript">
if (window.ColdFusion) ColdFusion.required['CoachCell']=true;
</script>
<script type="text/javascript">
var _cf_SUBMIT_init_1213386677126=function()
{
ColdFusion.setSubmitClicked('form_Coach','submit');
};ColdFusion.Event.registerOnLoad(_cf_SUBMIT_init_1213386677126,{_cf_containerId:'mainedit'});
</script>
Apparently this has something to do with CFFORM onSubmit validation and some code CF generates but then complains about.
Validation does not seem to be affected by this, only the tab layout is broken.
What could be the problem?
