[BUGFIX] Cleanup JavaScript for ColorPicker 48/47848/5
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 22 Apr 2016 09:57:27 +0000 (11:57 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 28 Apr 2016 20:49:03 +0000 (22:49 +0200)
commita51a5d6623c026bec5feda07fbc0d8b7a6b67145
treefdf04900664e553249dffbdf694cb77453d7855c
parentcbeddfd15ab8193ddcd591f0959d844cfa5a8ab5
[BUGFIX] Cleanup JavaScript for ColorPicker

This patch introduce an AMD module for the colorpicker and make use of
t3js- prefixed class for initialize the colorpicker.
Also the initialize is not centralized in the module.

Resolves: #75861
Releases: master
Change-Id: I71aea126d91482f8d37f9fa3e0be2bce662aee07
Reviewed-on: https://review.typo3.org/47848
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php
typo3/sysext/backend/Resources/Public/JavaScript/ColorPicker.js [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/jquery.clearable.js
typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/Form/TypoScriptConstantsViewHelper.php