mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
Merge pull request #728 from kossebau/fixOutlineElementsSlippingIntoSlides
Fix outline elements sneak from master pages into the shadow copies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user