Open GoogleCodeExporter opened 8 years ago
Hello..
please, i know that is a very old issue.. but, did you resolved this problem?
Original comment by flaviole...@gmail.com
on 13 Mar 2015 at 3:06
Unfortunately none of the Blockly developers have access to older versions of
IE. We'd fix it if we could. :(
https://plus.google.com/+NeilFraserName/posts/dmh9rjBoRUr
Original comment by neil.fra...@gmail.com
on 13 Mar 2015 at 5:30
i found a solution with my team..
we note that problem occurs in a append command in Blockly.Xml.workspaceToDom.
before:
Blockly.Xml = {};
Blockly.Xml.workspaceToDom = function(a)
{
var b;
Blockly.RTL && (b = a.getWidth());
var c = goog.dom.createDom("xml");
a = a.getTopBlocks(!0);
for (var d = 0, e; e = a[d]; d++)
{
var f = Blockly.Xml.blockToDom_(e);
e = e.getRelativeToSurfaceXY();
f.setAttribute("x", Blockly.RTL ? b - e.x : e.x);
f.setAttribute("y", e.y);
c.appendChild(f)
}
return c
};
after:
Blockly.Xml = {};
Blockly.Xml.workspaceToDom = function(a)
{
{
var b;
var c = goog.dom.createDom("xml");
var returnValue = (new XMLSerializer()).serializeToString(c);
Blockly.RTL && (b = a.getWidth());
a = a.getTopBlocks(!0);
for (var d = 0, e; e = a[d]; d++)
{
var f = Blockly.Xml.blockToDom_(e);
e = e.getRelativeToSurfaceXY();
f.setAttribute("x", Blockly.RTL ? b - e.x : e.x);
f.setAttribute("y", e.y);
var aux = (new XMLSerializer()).serializeToString(f);
returnValue += aux;
}
return returnValue;
};
now, we dont return xml.. now the return is a string with the xml code.
Original comment by flaviole...@gmail.com
on 13 Mar 2015 at 8:05
Original issue reported on code.google.com by
fdo...@gmail.com
on 18 Oct 2013 at 12:36