diff -r 17ad882a211f -r 75d6096216d7 doc/book/en/devweb/request.rst --- a/doc/book/en/devweb/request.rst Wed Mar 26 12:30:52 2014 +0100 +++ b/doc/book/en/devweb/request.rst Tue Apr 22 16:39:19 2014 +0200 @@ -89,7 +89,7 @@ html headers * `add_js(jsfiles)`: adds the given list of javascript resources to the current html headers - * `add_onload(jscode)`: inject the given jscode fragment (an unicode + * `add_onload(jscode)`: inject the given jscode fragment (a unicode string) into the current html headers, wrapped inside a document.ready(...) or another ajax-friendly one-time trigger event * `add_header(header, values)`: adds the header/value pair to the