bugfixes: delete entries in larger docgroups, fix vcdemo
Change-Id: I76a09faafe79d0fd85efc32a8bcdec37878ba486
(cherry picked from commit 6885f6e34dd6ae2614713f86e5d28aea2ed832d8)
diff --git a/dev/js/src/vc/docgroup.js b/dev/js/src/vc/docgroup.js
index 10a6495..858e847 100644
--- a/dev/js/src/vc/docgroup.js
+++ b/dev/js/src/vc/docgroup.js
@@ -210,6 +210,9 @@
group.appendChild(op.element());
+ var vcchevent = new CustomEvent('vcChange', {'detail':this});
+ document.dispatchEvent(vcchevent);
+
return this;
},
diff --git a/dev/js/src/vc/docgroupref.js b/dev/js/src/vc/docgroupref.js
index 3b7bd6d..f72e27a 100644
--- a/dev/js/src/vc/docgroupref.js
+++ b/dev/js/src/vc/docgroupref.js
@@ -109,7 +109,7 @@
// Append new operators
e.appendChild(op.element());
};
-
+
var vcchevent = new CustomEvent('vcChange', {'detail':this});
document.dispatchEvent(vcchevent);