Merge pull request #728 from kossebau/fixOutlineElementsSlippingIntoSlides

Fix outline elements sneak from master pages into the shadow copies
This commit is contained in:
Friedrich
2014-07-22 20:24:33 +02:00
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -1,3 +1,12 @@
# Changes between 0.5.1 and 0.5.2
## WebODF
### Fixes
* For ODP files sometimes template elements from the master pages were rendered inside the actual slides.
# Changes between 0.5.0 and 0.5.1
## WebODF
+1 -1
View File
@@ -248,7 +248,7 @@
function dropTemplateDrawFrames(clonedNode) {
// drop all frames which are just template frames
var i, element, presentationClass,
clonedDrawFrameElements = clonedNode.getElementsByTagNameNS(drawns, 'frame');
clonedDrawFrameElements = domUtils.getElementsByTagNameNS(clonedNode, drawns, 'frame');
for (i = 0; i < clonedDrawFrameElements.length; i += 1) {
element = /**@type{!Element}*/(clonedDrawFrameElements[i]);
presentationClass = element.getAttributeNS(presentationns, 'class');