joomla/joomla-cms — pull request #2269 by vietvh (2013-10-17 02:47:29+00:00)
Title: Fix jform labelclass property

The ability to set CSS class for form label is broken because of recent changes in this commit:

https://github.com/joomla/joomla-cms/commit/5696d944a6091fb70e80cc60dae95b7ad5aa0f34#diff-9d799c43096f42c965b28c44a8d8a8b1

Before this change, we use camelCase for JFormField property naming and lowercase for XML attribute, but the new change requires JFormField property name and XML attribute name to be exactly the same therefore it does not work.

This pull request attempts to fix this issue in a backward compatibility manner.