Do you want to disable the confirm message when clicking the "Delete" 
buttons on the grid itself? In that case, the confirmation is not 
controlled by the code in web2py.js. For those buttons, there is an 
"onclick" handler defined in the button element itself. We should probably 
include an option to remove the confirmation from that handler.

Anthony

On Saturday, February 9, 2013 6:18:28 AM UTC-5, François Delpierre wrote:
>
> Ok, so it's not included in the grid options.
> changing it in web2py.js would disable the confirmation globally, that's a 
> bit dangerous for other tables. I would prefer to do it only for 1 
> particular table.
>
> Or maybe creating a web2py_noconfirm.js included in a 
> layout_noconfirm.html ?
>

-- 

--- 
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