Dorian B. wrote:
if (stack && NS_SUCCEEDED(stack->Push(nsnull))) {
     /* Display the modal window here */
   JSContext* cx;
   stack->Pop(&cx);
}

Oh, right. Yeah, you have to do this for all modals. Note that you can pass NULL to Pop() if you don't care what context is being popped, btw.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to