Index: lams_central/web/includes/javascript/authoring/authoringActivity.js =================================================================== diff -u -rca77c8cc6da3c69dea897163404a2763f9930b40 -rec8b2516ad5d403dbbf748d7114500775273b830 --- lams_central/web/includes/javascript/authoring/authoringActivity.js (.../authoringActivity.js) (revision ca77c8cc6da3c69dea897163404a2763f9930b40) +++ lams_central/web/includes/javascript/authoring/authoringActivity.js (.../authoringActivity.js) (revision ec8b2516ad5d403dbbf748d7114500775273b830) @@ -587,6 +587,12 @@ this.items = paper.setFinish(); this.items.toBack(); + + // region annotations could cover grouping effect + $.each(layout.regions, function(){ + this.items.shape.toBack(); + }); + this.items.data('parentObject', this); if (!isReadOnlyMode){ @@ -716,6 +722,11 @@ activity.items.push(activity.items.groupingEffect); + // region annotations could cover grouping effect + $.each(layout.regions, function(){ + this.items.shape.toBack(); + }); + // this is needed, for some reason, otherwise the activity can not be selected HandlerLib.resetCanvasMode(true); } @@ -1473,4 +1484,4 @@ branchingActivity.longestBranchLength = longestBranchLength; } -}; \ No newline at end of file +};