thanks, fixed in trunk. please check it.

On Nov 13, 8:22 am, Iceberg <iceb...@21cn.com> wrote:
> I happened to find out that the "Confirmation dialog on delete" in
> web2py_ajax.html is defined as:
>
>   $('input.delete').attr('onclick','if(this.checked) if(!confirm("{{=T
> ('Sure you want to delete this object?')}}")) this.checked=false;');
>
> and it does NOT work.
>
> But a slightly adjusted version:
>
>   $('.delete').click(function() { if(this.checked) if(!confirm("{{=T
> ('Sure you want to delete this object?')}}")) this.checked=false; });
>
> WORKS.
>
> I am not a javascript expert to tell the reason. But if your test is
> same as mine, I'd suggest to adjust web2py_ajax.html, as well as
> instructions here:http://mdp.cti.depaul.edu/AlterEgo/default/edit/90
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to