When I set response.js it seems to get executed twice. This is because of the following code in web2py.js:
/* run this here only if this Ajax request is NOT for a web2py component. */ if(xhr.getResponseHeader('web2py-component-content') == null) { web2py.after_ajax(xhr); }; What is the purpose of this? Do I have to set web2py-component-content as well as response.js? -- --- 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/groups/opt_out.