Fixed !
the solution was to stop further propagation of the event
(event.stopPropagation) when entering the OnButtonClickEventHandler
function.


--- In [email protected], "wakouaq" <a...@...> wrote:
>
> Hello everyone,
> 
> I've been running into a pretty disturbing problem for the last few
days.
> 
> I am updating a login module so that it can handle user registration
> and password retrieval. 
> 
> I have various messages displayed depending on what the user did ( e.g
> : the password is incorrect ). And they all correctly appear IN FRONT
> of my login module.
> 
> When the user clicks on the submit button, a validation function is
> called to check if the fields have all correctly been filled and if
> not, a pop up message is displayed telling the user that he didn't
> fill correctly all the fields.
> So here comes my problem : this particular pop-up is displayed BEHIND
> my login module.
> 
> My guess would be that for some reason, the focus is given back to the
> login module, sending the pop-up behind it as fast as lightning. 
> 
> 
> Does anyone have any suggestion on how to fix this issue ? 
> 
> I can provide more detailled info if you wish, like bits of code.
>


Reply via email to