Sunday 18 August 2013

dojo dijit.InlineEditBox script type='dojo/connect' throws an error sometimes need to suppress

dojo dijit.InlineEditBox script type='dojo/connect' throws an error
sometimes need to suppress

So I have a html page which has snippets like this
<span dojoType='dijit.InlineEditBox' editor='dijit.form.Textarea'
id='actionDetails13' value='Leave admit source entered during Express
Registration' autoSave='false' noValueIndicator='[Details]'>
<script type='dojo/connect' event='onChange' args='value'>
</script>
</span>
This works just fine in chrome and IE however when the page is very large
only internet explorer throws an error
DOM Exception: NOT_FOUND_ERR (8)
and those particular inlineeditbox will no longer appear. So perhaps of
1,000 inlineedit boxes 70% will render.
If I comment out the script type='dojo/connect' then no errors are thrown.
I think it is probably some limit of IE but any ideas what is causing this?

No comments:

Post a Comment