List:Eventum General Discussion« Previous MessageNext Message »
From:Bryan Alsdorf Date:March 17 2005 6:09am
Subject:Re: Popup windows
View as plain text  
Jeff,

Jeffrey D. Wheelhouse wrote:
> 
> When I am updating a few issues at a time, I like to open them all from 
> the issue list in a tabbed browser, then zip through the tabs and make 
> the change to each one.  Some of those changes generate popups that, 
> when closed, reload the issue to reflect the changes.
> 
> If you update another issue before you dismiss the popup, it reuses the 
> existing popup window.  (Which, thank you for that by the way.)  But 
> then the other issue doesn't get updated.
> 
> I noticed in the preferences panel that there is an auto-close option 
> for popup panels, but it closes fast enough that I worry about the 
> possibility that I'll miss an error message.
> 
> I've seen "Beware!  Abandon thou this page and disaster shall smite thy 
> changes, proceed?" functionality elsewhere in Eventum (email composition 
> I think).  Would it be possible to use whatever detects that to figure 
> out when a popup is being reused and have it run the code it would have 
> run if I had closed it instead?
> 
> I'm afraid I don't know enough about Javascript to know whether this is 
> easy or impossible.

I think the best solution is if there is an error in the popup, do not 
autoclose the popup and if you try to navigate away from the page 
display a warning. This will allow you to have the popups auto close, 
but will prevent you from missing an error.

How does this sound to you?

Regards,
-- 
Bryan Alsdorf, Software Engineer
MySQL AB, www.mysql.com

Are you MySQL certified?  www.mysql.com/certification
Thread
Popup windowsJeffrey D. Wheelhouse15 Mar
  • Re: Popup windowsBryan Alsdorf17 Mar
    • Re: Popup windowsJeffrey D. Wheelhouse17 Mar