Skip to content

Commit

Permalink
Fixing issue where group element vanished after creating a new element
Browse files Browse the repository at this point in the history
inside.
  • Loading branch information
tHerrmann committed May 15, 2019
1 parent 8d012fd commit d778044
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3362,8 +3362,9 @@ protected void openEditorForNewElement(
}
element.setId(newElementData.getClientId());
element.setSitePath(newElementData.getSitePath());

setPageChanged();
if (!isGroupcontainerEditing()) {
setPageChanged();
}
getHandler().hidePageOverlay();
getHandler().openEditorForElement(element, inline);
}
Expand Down

0 comments on commit d778044

Please sign in to comment.