Skip to content

Commit

Permalink
For #2437: fix new grids/cells annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruchez committed Oct 10, 2017
1 parent 045928f commit 202a4d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -48,7 +48,7 @@ trait GridOps extends ContainerOps {
}

// All grids and grid cells with no existing id
val grids = startElem descendant GridTest
val grids = startElem descendantOrSelf GridTest

annotate("tmp", grids descendant CellTest filterNot (_.hasId))
annotate("tmp", grids filterNot (_.hasId))
Expand Down
Expand Up @@ -648,6 +648,7 @@ object ToolboxOps {
// Update ancestor templates if any
updateTemplatesCheckContainers(findAncestorRepeatNames(into, includeSelf = true).to[Set])

// Make sure new grids and cells are annotated
annotateGridsAndCells(newContainerElem)

// Select first grid cell
Expand Down

0 comments on commit 202a4d1

Please sign in to comment.