please move to web2py > 2.6.0, possibly 2.7.3 or trunk... it has better 
handling of ajax events in case of errors (i.e. if the row isn't deleted 
for whatever reason and 'myaction' returns not a "successful" status, the 
table row doesn't get deleted)

On Friday, November 15, 2013 5:39:20 PM UTC+1, Mirko wrote:
>
> Hi all,
> when I try to use the example from the book below, (
> the-views#Built-in-helpers<https://jurokk.edqm.eu:8000/book/default/chapter/29/05/the-views#Built-in-helpers>
> )
>
> {{=A('click me', callback=URL('myaction'), delete='tr")}}
>
>
> the behavior is:
> * delete warning popup appear
> * html table row is deleted
> * table row is not deleted
>
> I'm very happy with this behavior except that I was wondering if it's 
> possible not make the popup appear as long as the table row is not deleted ?
>
> Thanks!
>
> Mirko
> web2py 2.5.1
>

-- 
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/groups/opt_out.

Reply via email to