Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Product/Version ?
RGB Converter / 1.0
Status ?
Closed
Severity ?
Trivial
Duplicate Of ?
- none -
Fixed in Revision ?
241
Mstone ?
Summary ?
Support for 3-Character HEX Codes
Report Time ?
February 13, 2006 11:14 PM
Assignment ?
- none -
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

February 13, 2006 11:14 PM Robert
A user reports:

-----------------------------------------
I for one often use 3 character hex codes, and the widget converting things like 333 to 333000 (which are both valid, but very, very different) was annoying me.

Despite my very limited knowledge of Javascript (XHTML/CSS/XML/PHP/MySQL is my area), I ended up patching it.

Here's what I add after the first if in hexwatcher():

else if (length == 3)
{
newval = newval.substr(0, 1) + newval.substr(0, 1) + newval.substr(1, 1) + newval.substr(1, 1) + newval.substr(2, 1) + newval.substr(2, 1);
}

I may have done something completely stupid in that coding, but hey, it works :)
-----------------------------------------

July 15, 2006 02:20 AM Robert
Thank you for your bug report. This issue has been closed and fixed in Subversion. This change will be available in a future release, but you can download the change at any time from the Subversion server.