web/data/cubicweb.edition.js
branchstable
changeset 6264 0dcd19d89767
parent 6215 759cf097f5aa
child 6421 32a6b11c4013
--- a/web/data/cubicweb.edition.js	Thu Sep 16 13:38:49 2010 +0200
+++ b/web/data/cubicweb.edition.js	Thu Sep 16 14:11:12 2010 +0200
@@ -317,7 +317,7 @@
         form.insertBefore(insertBefore).slideDown('fast');
         updateInlinedEntitiesCounters(rtype, role);
         reorderTabindex(null, $(insertBefore).closest('form')[0]);
-        jQuery(CubicWeb).trigger('inlinedform-added', form);
+        jQuery(cw).trigger('inlinedform-added', form);
         // if the inlined form contains a file input, we must force
         // the form enctype to multipart/form-data
         if (form.find('input:file').length) {