jQWidgets Forums

This topic contains 2 replies, has 2 voices, and was last updated by  dexteraniz 11 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Hi, Posts
  • Hi, #50652

    dexteraniz
    Participant

    Im trying to create jqxwindow, the first function that create jqxWindowConfigure is working but jqxWindowSubscription is not working and an error shows “this._modalbackground is null” using mozilla browser. since they have the same codes in creating jqxwindow but only one of them is working. by the way these codes working fine on version jqwidget v2.6.0 but when i upgrade it to v3.0.0 i encounter this issue. any suggestion.

    Thanks,
    regards.

    function configure(instanceId) {
    $j.ajax({
    url: ‘<%=Helpers.Url.For(Helpers.Dict.N(“action”, “ConfigurePortlet”))%>’,
    cache: false,
    async: false,
    resizable: false,
    data: {
    ‘PortletInstances.Id’: instanceId
    },
    type: ‘post’,
    success: function (data) {
    var configureDiv = $j(document.createElement(‘div’))
    .attr(‘id’, ‘jqxWindowConfigure’);
    $j(configureDiv).html(data);
    $j(configureDiv).jqxWindow({
    width: 400,
    height: 280,
    theme: theme,
    position: ‘center’,
    closeButtonAction: ‘close’,
    resizable: false,
    isModal: true,
    autoOpen: false
    });
    }
    });
    }

    function subscribe(instanceId) {
    $j.ajax({
    url: ‘<%=Helpers.Url.For(Helpers.Dict.N(“action”, “Subscription”))%>’,
    cache: false,
    async: false,
    resizable: false,
    data: {
    ‘PortletInstances.Id’: instanceId
    },
    type: ‘post’,
    success: function (data) {
    var subscribeDiv = $j(document.createElement(‘div’))
    .attr(‘id’, ‘jqxWindowSubscription’);
    $j(subscribeDiv).html(data);
    $j(subscribeDiv).jqxWindow({
    width: 400,
    theme: theme,
    position: ‘center’,
    closeButtonAction: ‘close’,
    resizable: false,
    isModal: true,
    autoOpen: false
    });
    }
    });
    }

    Hi, #50748

    Dimitar
    Participant

    Hello dexteraniz,

    Please update to the latest version of jQWidgets (3.2.1).

    Note that if you call the same code twice, the second call does not initialize the window, it just sets the its properties again.

    Best Regards,
    Dimitar

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

    Hi, #51026

    dexteraniz
    Participant

    Thank you Dimitar. 🙂

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

You must be logged in to reply to this topic.