[web2py] Re: new web2py.js changes the sequence of execution

2013-08-29 Thread Paolo Valleri
Just to understand better what is going on, try to comment line 257 in web2py.js or even better the whole success block. Paolo On Thursday, August 29, 2013 3:42:29 AM UTC+2, Anthony wrote: Looks like this

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-29 Thread simon
Niphlod - I have tried latest trunk and get same issue. Paolo - I tried that but it makes no difference. Anthony is correct. The problem is: that the eval(decodeURIComponent(command)) happens in ajax.success then the t.html(html); On Thursday, 29 August 2013 14:54:19 UTC+1, Paolo Valleri

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-29 Thread simon
New version of web2py.js executes: eval(decodeURIComponent(command))in ajax.success t.html(html) in ajax.complete However in the previous version these two commands executed in the reverse order. If I change doc.ajaxSuccess to doc.ajaxComplete then it works.Not sure if this breaks

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-29 Thread Anthony
We have a somewhat different fix -- should be pushed to trunk shortly. Please test it once it's there. Thanks. Anthony On Thursday, August 29, 2013 11:46:26 AM UTC-7, simon wrote: New version of web2py.js executes: eval(decodeURIComponent(command))in ajax.success t.html(html) in

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-28 Thread Niphlod
On Wednesday, August 28, 2013 10:20:53 PM UTC+2, simon wrote: I have some very simple jquery scripts for creating dialog boxes. This was all working fine until the replacement of web2py.js in release 5113. However now it no longer works. What commit identifies release 5113 ? The

[web2py] Re: new web2py.js changes the sequence of execution

2013-08-28 Thread Anthony
Looks like this changehttps://code.google.com/p/web2py/source/browse/applications/admin/static/js/web2py.js?r=b995ca36cd33a28339d54f15bcf8eebb6d58f2e6was actually made in January in response to this issue https://code.google.com/p/web2py/issues/detail?id=1254. Technically, I suppose it does