utils.py
changeset 6448 8590d82e9b1b
parent 6409 d75535983224
child 6492 47a284c0d012
--- a/utils.py	Mon Oct 11 17:46:22 2010 +0200
+++ b/utils.py	Mon Oct 11 19:12:59 2010 +0200
@@ -255,7 +255,7 @@
         if jsoncall is not _MARKER:
             warn('[3.7] specifying jsoncall is not needed anymore',
                  DeprecationWarning, stacklevel=2)
-        self.add_post_inline_script(u"""jQuery(CubicWeb).one('server-response', function(event) {
+        self.add_post_inline_script(u"""$(cw).one('server-response', function(event) {
 %s});""" % jscode)