Skip to content

Commit 9bd708f

Browse files
authored
Merge pull request #68 from aem-design/develop
Develop
2 parents 4668385 + 35eb7c0 commit 9bd708f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

aemdesign-aem-common/src/main/content/jcr_root/apps/aemdesign/components/layout/contentblock/v2/contentblock/variant.childsection.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
<button class="btn btn-link title">${componentProperties.title}</button>
99
</div>
1010
<div id="${componentProperties.componentId}-content"
11-
class="${componentProperties.dataToggle}"
11+
class="${componentProperties.dataToggle}${wcmmode.edit ? ' show' : ''}"
1212
aria-labelledby="${componentProperties.componentId}-heading"
1313
data-parent="#${componentProperties.dataParent}">
1414
<div class="body">
1515
<sly data-sly-resource="${'./par' @ resourceType='aemdesign/components/layout/container'}"></sly>
1616
</div>
1717
</div>
1818
</div>
19-
</template>
19+
</template>

aemdesign-aem-services/src/main/java/design/aem/transport/AkamaiTransportHandler.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ public ReplicationResult deliver(TransportContext ctx, ReplicationTransaction tx
148148
ReplicationActionType replicationType = tx.getAction().getType();
149149

150150
// only runs the code if ReplicationAction type matches any of the following
151-
if (replicationType == ReplicationActionType.TEST || replicationType == ReplicationActionType.ACTIVATE || replicationType == ReplicationActionType.DEACTIVATE) {
151+
if (replicationType == ReplicationActionType.TEST ||
152+
replicationType == ReplicationActionType.ACTIVATE ||
153+
replicationType == ReplicationActionType.DEACTIVATE ||
154+
replicationType == ReplicationActionType.DELETE ) {
152155
return handleRequest(tx);
153156
} else {
154157
throw new ReplicationException("Replication action type " + replicationType + " not supported.");

0 commit comments

Comments
 (0)