# HG changeset patch # User Sylvain Thénault # Date 1294332470 -3600 # Node ID aede8c85207fbd754c82810d956f4dcab47d7789 # Parent ce35c6f2f2195b9eaab896fd4eebd0cd69c12cca [json controler] extraargs in js_component contains unicode keys which may not be given as argument names diff -r ce35c6f2f219 -r aede8c85207f web/views/basecontrollers.py --- a/web/views/basecontrollers.py Thu Jan 06 11:56:06 2011 +0100 +++ b/web/views/basecontrollers.py Thu Jan 06 17:47:50 2011 +0100 @@ -419,7 +419,7 @@ **optional_kwargs(extraargs)) #except NoSelectableObject: # raise RemoteCallFailed('unselectable') - return self._call_view(comp, **extraargs) + return self._call_view(comp, **optional_kwargs(extraargs)) @xhtmlize def js_render(self, registry, oid, eid=None,