[TASK] Hide "Remaining characters" below date fields 07/39107/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 30 Apr 2015 16:12:27 +0000 (18:12 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 4 May 2015 11:45:14 +0000 (13:45 +0200)
Resolves: #66694
Releases: master
Change-Id: Iade12b524b54a000419ff3dad0d4638d78f967cd
Reviewed-on: http://review.typo3.org/39107
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js

index ffe85fe..9b4216d 100644 (file)
@@ -576,7 +576,7 @@ define('TYPO3/CMS/Backend/FormEngine', ['jquery'], function ($) {
         */
        FormEngine.initializeRemainingCharacterViews = function() {
                // all fields with a "maxlength" attribute
-               var $maxlengthElements = $('[maxlength]');
+               var $maxlengthElements = $('[maxlength]').not('.t3js-datetimepicker');
                $maxlengthElements.on('focus', function(e) {
                        var $field = $(this),
                                $parent = $field.parents('.t3js-formengine-field-item:first'),