--- a/web/data/cubicweb.edition.js Sun Nov 29 23:48:22 2009 +0100
+++ b/web/data/cubicweb.edition.js Mon Nov 30 10:24:01 2009 +0100
@@ -270,11 +270,14 @@
/*
* removes the part of the form used to edit an inlined entity
*/
-function removeInlineForm(peid, rtype, eid) {
+function removeInlineForm(peid, rtype, eid, showaddnewlink) {
jqNode(['div', peid, rtype, eid].join('-')).slideUp('fast', function() {
$(this).remove();
updateInlinedEntitiesCounters(rtype);
});
+ if (showaddnewlink) {
+ toggleVisibility(showaddnewlink);
+ }
}
/*