web/data/cubicweb.edition.js
branchstable
changeset 3327 44efba78afac
parent 3294 5047b2566634
child 3342 8b30ae9c4e67
--- a/web/data/cubicweb.edition.js	Fri Sep 18 19:47:07 2009 +0200
+++ b/web/data/cubicweb.edition.js	Fri Sep 18 19:48:58 2009 +0200
@@ -243,9 +243,9 @@
  * @param ttype : the target (inlined) entity type
  * @param rtype : the relation type between both entities
  */
-function addInlineCreationForm(peid, ttype, rtype, role, insertBefore) {
+function addInlineCreationForm(peid, ttype, rtype, role, i18nctx, insertBefore) {
     insertBefore = insertBefore || getNode('add' + rtype + ':' + peid + 'link').parentNode;
-    var d = asyncRemoteExec('inline_creation_form', peid, ttype, rtype, role);
+    var d = asyncRemoteExec('inline_creation_form', peid, ttype, rtype, role, i18nctx);
     d.addCallback(function (response) {
         var dom = getDomFromResponse(response);
         preprocessAjaxLoad(null, dom);