Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Close modal dialog window after loginSuccessMarker.html renders

    Greetings,

    I have implemented relogin by embedding loginRequiredMarker.html snippet into my login.html page. I have secured loginSuccessMarker.html page.

    when session expires, in the RPCManager callback I create a Dialog and put an HTMLPane with iFrameURL pointing to loginSuccessMarker.html. After a successful login, the suspended command is automatically executed as expected. I end up with the Dialog still open and the empty HTMLPane. I would like to automatically close the Dialog upon a successful login. What wold be the best way to catch the event and close the Dialog window.

    Thank you,
    Oleg

    #2
    The suspended transactions aren’t automatically resubmitted - you’re most likely using some sample code we’ve provided, and in that code, there’s a call to resumbitTransaction(). That’s the right spot to put any other cleanup code, such as closing your Dialog.

    Comment

    Working...
    X