two modal dialogs on a page problem
two modal dialogs on a page problem
- Subject: two modal dialogs on a page problem
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 17 Sep 2010 13:03:18 -0700 (PDT)
I have a page that has links to two different AMDs.
ModalDialogOne: AjaxModalDialog {
title = "Dialog One";
label = "Dialog One";
slideUpDuration = ".1";
slideDownDuration = ".1";
action = bringInOne;
}
ModalDialogTwo: AjaxModalDialog {
title = "Dialog Two";
label = "Dialog Two";
slideUpDuration = ".1";
slideDownDuration = ".1";
action = bringInTwo;
height = 500;
}
Notice that the only difference is ModalDialogTwo has "height = 500;"
Problem:
if I click the link to ModalDialogOne, it displays and has information that makes the dialog about 350 px tall. I can display ModalDialogOne over and over. But if I display ModalDialogTwo, ModalDialogOne breaks and no longer will display correctly, it is only 25px high with a scroll bar on the side. The only way to fix it is to reload the base page, or ModalDialogTwo can not have a height statement.
If anyone is interested, I have a little demo that I can attach.
Should I open a Jira on this? or am I doing something wrong?
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden