
Today i downloaded the last release from Echo3Go
I noticed that:
<p n="titleForeground" t="Color" v="#2529D6"/>
is not working anymore
it has to be changed to that:
<p n="titleForeground" t="Color">#2529d6</p>
Am i right ? or something i missed.
Please note that i'm not complaining :)
Just want to know if i'm right on that one.
Thanks
Jerome
A little modify
It seems missing handler for "Color" type in Serials.js.
//A little modify( just I think) add the following to Serials.js:
EchoSerial.PropertyTranslator.Color = {
toProperty: function(client, propertyElement) {
return propertyElement.firstChild.data;
},
toXml: function(client, propertyElement, propertyValue) {
propertyElement.appendChild(propertyElement.ownerDocument.createTextNode(propertyValue.toString()));
}
};
EchoSerial.addPropertyTranslator("Color", EchoSerial.PropertyTranslator.Extent);
EchoSerial.addPropertyTranslator("C", EchoSerial.PropertyTranslator.Extent);