• 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
Re: AjaxModalDialog.close(context()) being ignored
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxModalDialog.close(context()) being ignored


  • Subject: Re: AjaxModalDialog.close(context()) being ignored
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 2 Feb 2011 14:24:13 +1030

Hi Chuck,

On 02/02/2011, at 1:41 PM, Chuck Hill wrote:

> Do both buttons have evalScripts = true?  That method returns JavaScript that needs to be evaluated on the client side.

None of the buttons have that binding.  (Didn't know it was needed.)  Adding it to the problem button has no effect, though.

> You can also use the JS AMD.close(); to close it.  You should not NEED to do this, but it may provide a clue as to what is or is not wrong.

I've added that to the 'onComplete' binding, and it solves the problem (with and without 'evalScripts="$true"').  It's a bit unsatisfying though—I wonder why AjaxModalDialog.close(context()) is working for some buttons but not others.

Thanks Chuck.


--
Paul.

http://logicsquad.net/


 _______________________________________________
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: AjaxModalDialog.close(context()) being ignored
      • From: Chuck Hill <email@hidden>
References: 
 >AjaxModalDialog.close(context()) being ignored (From: Paul Hoadley <email@hidden>)
 >Re: AjaxModalDialog.close(context()) being ignored (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Better D2W question: pull down lists for relationships
  • Next by Date: Re: AjaxModalDialog.close(context()) being ignored
  • Previous by thread: Re: AjaxModalDialog.close(context()) being ignored
  • Next by thread: Re: AjaxModalDialog.close(context()) being ignored
  • Index(es):
    • Date
    • Thread