I forgot to mention that I also tried
response.js = XML('$("#contact-dialog").modal("hide");')
and this threw an internal server error, which surprised me a bit, since
I've wrapped response.js statements with the XML helper before without
incident. Here's the traceback:
Traceback
1.
2.
3.
4.
5.
Traceback (most recent call last):
File "I:\web2py\gluon\main.py", line 489, in wsgibase
urllib2.quote(response.js.replace('\n',''))
AttributeError: 'XML' object has no attribute 'replace'
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.