web/data/cubicweb.edition.js
branchtls-sprint
changeset 1292 18a86192c9c4
parent 992 d5fe2626695b
child 1314 dc5499bff1a9
--- a/web/data/cubicweb.edition.js	Wed Apr 08 13:15:21 2009 +0200
+++ b/web/data/cubicweb.edition.js	Wed Apr 08 13:16:16 2009 +0200
@@ -256,12 +256,11 @@
 /*
  * makes an AJAX request to get an inline-creation view's content
  * @param peid : the parent entity eid
- * @param ptype : the parent entity type
  * @param ttype : the target (inlined) entity type
  * @param rtype : the relation type between both entities
  */
-function addInlineCreationForm(peid, ptype, ttype, rtype, role) {
-    var d = async_rawremote_exec('inline_creation_form', peid, ptype, ttype, rtype, role);
+function addInlineCreationForm(peid, ttype, rtype, role) {
+    var d = async_rawremote_exec('inline_creation_form', peid, ttype, rtype, role);
     d.addCallback(function (response) {
 	var linknode = getNode('add' + rtype + ':' + peid + 'link');
         var dom = getDomFromResponse(response);