I have 2 tabs(tab-1, tab-2) in my main portal
In tab-1, there is functionality for create/edit operations which launches the dialog (autoopen property is false)
In tab-2 ,there is a grid
Steps to recreate:
1) A new entity is created using create option in tab-1
2) switch the tab selection to tab-2
3) again come back to tab-1
4) If we click on create button/create menu, the dialog is not getting populated.
Below is the code snippet for dialog
function createTaskDialog(title, isEdit) {
alert(“title:”+title + “–>Edit:”+isEdit);
$(“#taskWindowHeader”).text(title);
$(‘#taskDialog’).jqxWindow({
autoOpen: false,
height : 300,
width : 400,
isModal : true,
showCloseButton : true,
initContent: function () {
$(‘#taskDialog’).jqxWindow(‘focus’);
}
});
// Initialize the Task form Contents
//initializeTaskFormContents(isEdit);
// Validation for Form
//doValidateTaskForm();
}