silverstripe/sapphire — pull request #762 by Zauberfisch (2012-09-01 14:40:04+00:00)
Title: BBUGFIX: jQueryUI configs broken because keys were all lowercase

Text taken from: http://open.silverstripe.org/ticket/7834

The current version of DateField? now lets you set jQueryUI configs for the datepicker (in a hacky way, but at least it finally does).

When using $dateField->setConfig('jQueryUI.changeMonth', 'true'); this actually gets set, and is even picked up on javascript side.

Problem is, jQuery.data() returns all keys lower case, which turns {changeMonth: true} to {changemonth: true} But jQueryUI takes the config case sensetive

hmmm, I am not sure if its jquery or the browser, but eihter way, on JS end it comes up lowercase