Can you check the browser developer tools to see the network traffic in 
each case (also check the console for any JS errors)?

A few other observations:

   - You set response.flash but then do a redirect, so the flash message 
   will get ignored. You should instead set session.flash.
   - In one case, you set response.flash (which should be session.flash) 
   right *after* a redirect, so that code will never be reached -- set the 
   flash message before the redirect.
   - You run the same code in your "elif" and final "else", so no need to 
   distinguish those cases -- get rid of the "elif". 
   
Anthony

On Thursday, November 20, 2014 7:13:43 AM UTC-5, LoveWeb2py wrote:
>
> 2.9.11
>
> On Thursday, November 20, 2014 6:04:15 AM UTC-5, Leonel Câmara wrote:
>>
>> What version is this?
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to