--- a/web/request.py Fri May 02 17:41:11 2014 +0200
+++ b/web/request.py Fri May 02 17:57:37 2014 +0200
@@ -439,10 +439,6 @@
"""
self.add_js('cubicweb.ajax.js')
jsfunc = kwargs.pop('jsfunc', 'userCallbackThenReloadPage')
- if 'msg' in kwargs:
- warn('[3.10] msg should be given as positional argument',
- DeprecationWarning, stacklevel=2)
- args = (kwargs.pop('msg'),) + args
assert not kwargs, 'dunno what to do with remaining kwargs: %s' % kwargs
cbname = self.register_onetime_callback(cb, *cbargs)
return "javascript: %s" % getattr(js, jsfunc)(cbname, *args)