Flashes aren't displayed before first postback.
Reported by MarSik | June 29th, 2010 @ 06:02 PM | in 2.0.2
Preexisting flash messages aren't displayed during the page load, because the element_flash:update() method check if has_flash state variable is set. But this variable doesn't get set until later in the render phase.
The attached patch fixes it.
Comments and changes to this ticket
-
Rusty Klophaus June 29th, 2010 @ 07:11 PM
- State changed from new to resolved
- Milestone set to 2.0.2
- Milestone order changed from 126404 to 0
Merged in your code from http://github.com/MarSik/nitrogen/tree/nitrogen2. This should now be fixed.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang