Hello,
I'm experiencing a delay in the appearance of the left button in the modal dialog. In our test environment the delay is about 1-2 seconds, in production it's between 15 seconds to over a minute. It doesn't occur all the time. There is nothing specific about the situations when the delay is observed. It happens in the Safari browser on an iPad.
Here is the code that defines the modal dialog:
function showPopup()
{
var popupWidth='600';
var popupHeight='350';
var posX=(1024/2)-(popupWidth/2);
var posY=(768/2)-(popupHeight/2);
var startMsg = $('<div></div>').html('Start text');
startMsg.dialog({
modal: true,
width:popupWidth,
height: popupHeight,
closeOnEscape: true,
draggable: true,
resizable : false,
position: [posX,posY],
autoOpen: false,
buttons: {
"Yes" : function() {
$(this).dialog("close");
startNewFlow();
},
"Cancel" : function() {
$(this).dialog("close");
$(this).dialog("destroy");
}
}
});
startMsg.show();
startMsg.dialog('open');
}