- From: Darin Fisher <darin@chromium.org>
- Date: Tue, 20 Mar 2012 22:37:13 -0700
On Tue, Mar 20, 2012 at 4:05 PM, Glenn Maynard <glenn at zewt.org> wrote: > On Mon, Mar 19, 2012 at 3:38 PM, Jochen Eisinger <jochen at chromium.org > >wrote: > > > I'd like to put forward a proposal for extending the modal prompts > > (alert/confirm/prompt) with an optional callback parameter. If the > optional > > callback parameter is present, the javascript execution would resume > > immediately. The callback will be invoked when the dialog that doesn't > need > > to be browser modal now, is closed. > > > > I'm not sure this accomplishes anything. It won't discourage people from > using the blocking dialog calls, because generally the entire reason people > use them is because the blocking is convenient. People who don't need that > are likely to just use any old dialog overlay script that they can style to > match their page. > > While it would be nice to completely discourage use of blocking alert() calls, I don't think that is really the goal here. The goal is to provide a super simple non-blocking set of dialog calls. The alternative requires a fair bit of code to construct an overlay, etc. -Darin
Received on Tuesday, 20 March 2012 22:37:13 UTC