[autoform] fix call to remove pending generic relation: reference bad function name stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 02 Dec 2010 10:09:12 +0100
branchstable
changeset 6726 51880d28ef63
parent 6725 6e6d1d19f341
child 6727 2eeccd6f8abe
[autoform] fix call to remove pending generic relation: reference bad function name
web/data/cubicweb.edition.js
--- a/web/data/cubicweb.edition.js	Thu Dec 02 10:08:28 2010 +0100
+++ b/web/data/cubicweb.edition.js	Thu Dec 02 10:09:12 2010 +0100
@@ -209,7 +209,7 @@
         }
     }
     elementId = elementId.substring(2, elementId.length);
-    loadRemote('json', ajaxFuncArgs('remove_pending_inserts', null,
+    loadRemote('json', ajaxFuncArgs('remove_pending_insert', null,
                                     elementId.split(':')), 'GET', true);
 }