Hi Paul, I guess you are doing a full page refresh to get that message?
Looking at the JS you could do "AMD.close();” in javascript to get it to close. You could call it programmatically on the Javascript client side. Alternatively if JS gives you the “heebie jeebies” there is another way. Looking at the pure java, you could access a static method from your bound “action” response by calling “AjaxModalDialog.close()” that will end up invoking that same Javascript for you. A pure javascript close like this should not give the error you speak of. Cheers, AARON ROSENZWEIG / Chat 'n Bike e: [email protected] t: (301) 956-2319 On Feb 24, 2014, at 11:26 AM, Paul Yu <[email protected]> wrote: > Dear List > > What is the proper way to close an AjaxModalDialog so the browser does not > complain that their may be unsaved changes on the page? > > Paul > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
