« Return to Thread: Error when using YUILoader with container

Error when using YUILoader with container

by mads_randstoft :: Rate this Message:

Reply to Author | View in Thread

When I use the YUILoader to load the container library and in the
"onLoadComplete" create a Dialog (it does not matter if I create it
from script or from markup) and afterwards "render" the dialog I get
this error in Firefox:

Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED)
[nsIScriptableInputStream.available]

The same error does not occur if I load the library manually (In the
head with <script> tags...
From what I can digest off the net it is a timing error?

 « Return to Thread: Error when using YUILoader with container