Commit 03d8169c authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

+ к rev. 57538

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57539 954022d7-b5bf-4e40-9824-e11837661b57
parent 7b24eefb
...@@ -466,7 +466,10 @@ ...@@ -466,7 +466,10 @@
window.global_pptx_content_writer.End_UseFullUrl() window.global_pptx_content_writer.End_UseFullUrl()
}; };
this._cleanElement(); while (this.element.hasChildNodes()) {
this.element.removeChild(this.element.lastChild);
};
if(text !== false) if(text !== false)
this.element.appendChild(text); this.element.appendChild(text);
if(this.element.children[0] && sBase64) if(this.element.children[0] && sBase64)
...@@ -593,7 +596,10 @@ ...@@ -593,7 +596,10 @@
nodes[0] = outer; nodes[0] = outer;
} }
t._cleanElement(); while (this.element.hasChildNodes()) {
this.element.removeChild(this.element.lastChild);
}
nodes.forEach( nodes.forEach(
function(node){ function(node){
t.element.appendChild(node); t.element.appendChild(node);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment