On Sun, Jun 8, 2014 at 8:18 AM, Ahmad Khayyat <[email protected]> wrote:

> There is one issue with the current approach. The exception message is
> shown using Django messages, which displays the message at the top of the
> page. If the page tree is scrolled down, the user will see that the illegal
> move move was reverted, but will not see the message, which is unsettling!
>
> Perhaps we should scroll to the top when the message is displayed? Any
> better solutions? or is it not big of an issue?
>

Unless I'm missing something from when I tested it, this isn't an issue -
since you call location.reload() on error the user should always be put
back to the top of the screen, where they'll see the message.


>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to