skeleton/entities.py.tmpl
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 20 Oct 2010 09:03:37 +0200
changeset 6555 f8b36b1e98bf
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
[javascript] fix loadRemote implementation for synchronous requests In case of synhronous requests, loadRemote is supposed to return the "interpreted" server result (e.g a json object, a DOM object, ...). $.ajax() always return the XHR object, so we have to use the success callback to capture the actual server result and return it later.

# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s entity's classes"""