The jQuery code for confirmation on delete connects the onclick event of the checkbox with a confirmation dialog, I have never seen this convention before, in the applications I have seen sofar the confirmation dialog is triggered by a submit. Is it possible to re- write the code in web2py_ajax.html:
jQuery("input[type='checkbox'].delete").click(function() { if (this.checked) if(!confirm("{{=T('Sure you want to delete this object?')}}")) this.checked=false; }); ... so that the code connects the submit with the confirmation dialog and not the onclick event of the checkbox? Kind regards, Annet. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.