jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window Issue isModal with jqWidgets 2.9.0

Tagged: ,

This topic contains 5 replies, has 3 voices, and was last updated by  stailer 12 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Issue isModal with jqWidgets 2.9.0 #23969

    stailer
    Member

    Hello,

    I think there is a problem with jqxWindow and jqWidgets 2.9 :

    <div id=”windowId”>
    <div></div>
    <div></div>
    </div>
    <div id=”mId” ></div>

    $(“windowId”).jqxWindow();   -> OK

    $(“windowId”).jqxWindow({ isModal: true });  -> Error Jquery Selector on mId!

    Thanks for your response (or solution),

    Jean-François

    Issue isModal with jqWidgets 2.9.0 #23973

    Dimitar
    Participant

    Hello Jean-François,

    Please make sure all the ids in your HTML correctly correspond with the ones in your script. If everything is all right, please provide us with a larger code sample for local testing.

    On a side note, please format your code as explained in the forum topic Code Formatting when you post in the future.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Issue isModal with jqWidgets 2.9.0 #23974

    stailer
    Member

    Ok, i forgot a precision : issue only on Internet Explorer < 9 (my production version is IE8) .
    Then it's maybe normal ?

    Issue isModal with jqWidgets 2.9.0 #23978

    Dimitar
    Participant

    Hi Jean-François,

    No, there are not such known issue specific to Internet Explorer 8. We cannot be sure what the issue actually is unless you provide us with a larger code.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Issue isModal with jqWidgets 2.9.0 #24046

    aoverton07
    Participant

    Stailer,

    I have been experiencing similar problems. After much debugging I think I have found what was causing it, for me at least. There are a few possibilities:

    1.) Somewhere you mistakenly set “isModal: false” and then proceeded to define “modalOpacity”. These two properties should not co-exist. “modalOpacity” should only be set for windows where “isModal: true”. Simple typo.

    2.) invoked two windows that are MODAL at the same time. This could cause unexpected behavior.

    3.) invoked a modal window (and opened) before all window bindings are complete….if you have a window that is modal, it might be a good idea to make sure that you don’t call/open that window until all of your bindings are completed. For example, in your code above:

    <div id=”windowId”>
    <div></div>
    <div></div>
    </div>
    <div id=”mId” ></div>
    $(“windowId”).jqxWindow({ isModal: true, <strong>autoOpen: false</strong> });

    Make sure to set autoOpen to false so it doesnt open before the rest of the code is executed.

    Issue isModal with jqWidgets 2.9.0 #24108

    stailer
    Member

    @dimitar and @aoverton007 : Thank you for your replies : )

    jQWidgets 2.9.1. resolved my problem :

    – Fixed an issue in jqxWindow regarding the dynamic changes of the “isModal” property.

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

You must be logged in to reply to this topic.