[TYPO3-core] RFC Feature #7336: Improve usability of Constants Editor

Jeff Segars jsegars at alumni.rice.edu
Sat Feb 2 21:27:25 CET 2008


Jeff Segars wrote:
> Ingmar Schlecht wrote:
>>  there seems to be a problem with selector boxes for selecting e.g.
>> colors from a list (see screen shot). Besides the selector box
>> there's a plain text field as well which keeps the old value even if
>> I select a different one and the value I select is not saved when I
>> press update.
> 
> Thanks for the testing Ingmar.  Working on a fix now. 

I'm attaching a new patch here to fix the issues Ingmar mentioned with 
the color selector.  There are a couple different changes...

1. Updated the existing functionality to use Prototype and live in an 
external Javascript file.
2. The color preview is updated automatically rather than when the page 
is reloaded and the select box is updated based on values entered in the 
input box.
3. I added some additional colors to the preset list and enabled support 
for 3 digit hex codes in the input field.

I haven't tested this at all in IE yet, or as extensively in any browser 
as I'd like, but I'll go ahead and throw it out there and continue 
testing on my end. Once I get it tested more thoroughly, I'll post it as 
a new RFC.

Thanks,
Jeff
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: constants_editor_color.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080202/365d19f8/attachment.txt 


More information about the TYPO3-team-core mailing list