-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Hello everyone, I am new to this forum. So please bear with me here. I have this code:
function dialogPopup(table) {
var dialogOptions = {
"title": "This is a test",
"width": 'auto',
"height": 200,
"position": 'top',
"resizable": false,
"draggable": true,
"modal": false,
"close": function () {
if (last[0] != this) {
$(this).remove();
}
}
};
// dialog-extend options
var dialogExtendOptions = {
"closable": true,
"maximizable": true,
"dblclick": "maximize" || false,
};
last=$(table).dialog(dialogOptions).dialogExtend(dialogExtendOptions);
last.dialogExtend('maximize');
}
I would like to maximize the dialogue by default when it's opened. It seemed to work fine when I don't change the debug mode to "false" in the web.config file. However, when I changed it to false, the maximize worked only for the first time. The second time the dialogue appeared, it didn't maximize anymore. I think it is because of the minified version of the dialogextend.js.min. If I excluded that file from the project, it is working fine. There must be some line in the minified version that is causing this. Anyone else have this problem?
Thanks.