web/views/basecontrollers.py
branchstable
changeset 4629 1eeef3cbf528
parent 4466 8b0ca7904820
child 4636 edafa2343dd7
--- 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