[BUGFIX] Can't remove static templates from selection in template module 20/27820/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 24 Feb 2014 22:00:14 +0000 (23:00 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 25 Feb 2014 08:48:09 +0000 (09:48 +0100)
Add missing '$' in front of formEl

Resolves: #56221
Releases: 6.2
Change-Id: Ia9b3260eebd007a60a34c33ac357fa84c572c8ac
Reviewed-on: https://review.typo3.org/27820
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jost Baron
Tested-by: Jost Baron
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js

index 7a738e3..0fa5c80 100644 (file)
@@ -175,7 +175,7 @@ define('TYPO3/CMS/Backend/FormEngine', ['jquery'], function ($) {
        setFormValueManipulate = function(fName, type, maxLength) {
                var $formEl = FormEngine.getFormElement(fName);
                if ($formEl.length > 0) {
-                       var formObj = formEl.get();
+                       var formObj = $formEl.get();
                        var localArray_V = new Array();
                        var localArray_L = new Array();
                        var localArray_S = new Array();