Re: [web2py] Re: Want to add Confirmation on link in sqlform.grid

2016-07-20 Thread isi_jca
Hi!!! In this manner, works the link: links = [lambda row: A('Club call',_onclick="if(confirm('Do you want to club this call?')) document.location='%s'; return false;" % URL("","Incident",args=[row.id]))] Regards. El lunes, 13 de mayo de 2013, 9:11:10 (UTC-3), Pawan Jha escribió: > > not

[web2py] Re: Want to add Confirmation on link in sqlform.grid

2016-07-20 Thread isi_jca
El lunes, 13 de mayo de 2013, 2:56:27 (UTC-3), Pawan Jha escribió: > > Hi all > > I am using this in SQLFORM.grid > > here is confirm message but on clicking this Message is coming but when i > am clicking on no the its refresh the pages > > so please tell me how will i prevent this > > lin

Re: [web2py] Re: Want to add Confirmation on link in sqlform.grid

2013-05-13 Thread Pawan Jha
not working frnd i have done changes as per you are given me its not working On Mon, May 13, 2013 at 5:18 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > links = [lambda row: A('Club call',_onclick="if(confirm('Do you want to > club this call')) document.location='%s'; return false;

[web2py] Re: Want to add Confirmation on link in sqlform.grid

2013-05-13 Thread Massimo Di Pierro
links = [lambda row: A('Club call',_onclick="if(confirm('Do you want to club this call')) document.location='%s'; return false;' % URL("","Incident",args=[row.id])] On Monday, 13 May 2013 00:56:27 UTC-5, Pawan Jha wrote: > > Hi all > > I am using this in SQLFORM.grid > > here is confirm messag