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
});
}
});
}