put it in new.html not web2py_ajax On Thursday, October 1, 2015 at 4:54:33 PM UTC-7, Tom Campbell wrote: > > Thank you, Derek, but I'm still flummoxed. I added this new script tag to > web2py_ajax.html: > > <script type="text/javascript">console.log('loaded ' + Date.now())</script> > > But I'm getting this message even when I use LOAD(). So I'm trying to > understand whether I am placing this code in the wrong location or what, > because I think it shouldn't be redrawing the page. The XHR record output > seems to confirm this. > > FWIW the actions are called this way from menu.py: > > response.menu = [ > ('Demo', False, '', [ > (T('New task'), False, URL('default', 'new')), > (T('Show all tasks'), False, URL('default', 'all')), > ]), > ] > >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.