PDA

View Full Version : bugfix for "unkown color format" in <richtexteditor>


frankybaby
04-06-2006, 06:15 AM
Hi guys,

There is a nice little bug in the incubator version of richtexteditor in OpenLaszlo 3.2

For every color in the dropdown combobox you'll get the message "unkown color format.....".

To fix that, just change line 44 in colorsquare.lzx

FROM:

this.fillStyle = swatchcolor;

TO:

this.fillStyle = parseInt (swatchcolor);


Best regards
Frankybaby

bfagan
04-06-2006, 06:27 AM
Did you file a bug report in Laszlo's JIRA?

http://www.openlaszlo.org/jira/secure/CreateIssue!default.jspa

frankybaby
04-06-2006, 06:42 AM
@bfagan

Yes, I did (just now on your advice :-) )

Thank's for that!

Best regards
Frankybaby