diff -r 2f23148d0870 -r 1eeef3cbf528 web/views/basecontrollers.py --- a/web/views/basecontrollers.py Thu Feb 18 11:08:00 2010 +0100 +++ b/web/views/basecontrollers.py Thu Feb 18 12:13:36 2010 +0100 @@ -383,10 +383,10 @@ @check_pageid @xhtmlize - def js_inline_creation_form(self, peid, ttype, rtype, role, i18nctx): + def js_inline_creation_form(self, peid, petype, ttype, rtype, role, i18nctx): view = self._cw.vreg['views'].select('inline-creation', self._cw, - etype=ttype, peid=peid, rtype=rtype, - role=role) + etype=ttype, rtype=rtype, role=role, + peid=peid, petype=petype) return self._call_view(view, i18nctx=i18nctx) @jsonize