Commit 28b5b986 authored by Igor.Zotov's avatar Igor.Zotov

падение при открытии редактора в IE10

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65366 954022d7-b5bf-4e40-9824-e11837661b57
parent 3a90e466
......@@ -61,6 +61,8 @@
iframe.id = "ieCopyFrame";
doc.body.appendChild(iframe);
var temp = doc.getElementById("ieCopyFrame");
if (temp.contentDocument.body == null)
temp.contentDocument.write("<body></body>");
t.element = temp.contentDocument.body.appendChild(doc.createElement("div"));
}
else
......
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