jQuery UI Widgets Forums Dialogs and Notifications Window jqxWindow is only modal on first execution

This topic contains 2 replies, has 2 voices, and was last updated by  shawn 8 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • shawn
    Participant

    The first time I launch a jqxWindow, it is correctly modal.
    Then, I’ll close it using either the built-in “X”, or programmatically using jqxWindow(“close”).
    If I then open it a 2nd time, it will not be modal.
    How can I make it modal every time?

    $("#linkHelperBox").jqxWindow({ 
    	height: 300, 
    	width: 800, 
    	isModal: true,
    	draggable: true,
    	resizable: false,
    	position: "center"
    });

    modal

    non-modal


    ivailo
    Participant

    Hi shawn,

    We tested a window with your settings an we can’t see such a behavior.
    Here is a demo.
    Please try to update to the latest version(4.1.1)

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    shawn
    Participant

    I got it figured out.
    I was calling the init function every time I wanted to see the jqxWindow.
    What I needed to do was init the jqxWindow once, then call the open and close methods to use it.

    thanks for your help

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.