[BUGFIX] Let textareas within finisher inspector properties work 99/56199/2
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Thu, 15 Mar 2018 21:47:29 +0000 (22:47 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 5 Apr 2018 07:27:42 +0000 (09:27 +0200)
Exclude textareas from javascripts sortable logic within the finisher
inspectors (form editor) to make it editable.

Resolves: #84177
Releases: 8.7
Change-Id: Iec983d4d2e5bdba867539122069186327eeb2fd1
Reviewed-on: https://review.typo3.org/56199
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js

index 05103cb..55d327a 100644 (file)
@@ -419,7 +419,7 @@ define(['jquery',
       sortableDomElement.addClass(getHelper().getDomElementClassName('sortable')).sortable({
         revert: 'true',
         items: getHelper().getDomElementClassName('collectionElement', true),
-        cancel: getHelper().getDomElementClassName('jQueryUiStateDisabled', true) + ',input,select',
+        cancel: getHelper().getDomElementClassName('jQueryUiStateDisabled', true) + ',input,textarea,select',
         delay: 200,
         update: function(e, o) {
           var dataAttributeName, nextCollectionElementIdentifier, movedCollectionElementIdentifier,