• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
two modal dialogs on a page problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: two modal dialogs on a page problem
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: ERModernDirectToWeb SortButton
  • Next by Date: Re: two modal dialogs on a page problem
  • Previous by thread: Re: ERModernDirectToWeb SortButton
  • Next by thread: Re: two modal dialogs on a page problem
  • Index(es):
    • Date
    • Thread