diff --git a/typo3/sysext/backend/Classes/Form/FormEngine.php b/typo3/sysext/backend/Classes/Form/FormEngine.php index eac81266358c0a848c52a3ffeb056548ebc32d52..565cc77be843608c610e797979a4e2930198eac3 100644 --- a/typo3/sysext/backend/Classes/Form/FormEngine.php +++ b/typo3/sysext/backend/Classes/Form/FormEngine.php @@ -1266,7 +1266,6 @@ class FormEngine { // @todo: remove scriptaclous once suggest & flex form foo is moved to RequireJS, see #55575 $pageRenderer->loadScriptaculous(); - $this->loadJavascriptLib('sysext/backend/Resources/Public/JavaScript/tceforms.js'); $this->loadJavascriptLib('sysext/backend/Resources/Public/JavaScript/jsfunc.tceforms_suggest.js'); $pageRenderer->loadRequireJsModule('TYPO3/CMS/Filelist/FileListLocalisation'); diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/tceforms.js b/typo3/sysext/backend/Resources/Public/JavaScript/tceforms.js deleted file mode 100644 index fb82f07493c54e65b56fb1f143fd7fec3512dff9..0000000000000000000000000000000000000000 --- a/typo3/sysext/backend/Resources/Public/JavaScript/tceforms.js +++ /dev/null @@ -1,41 +0,0 @@ -/* - * This file is part of the TYPO3 CMS project. - * - * It is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, either version 2 - * of the License, or any later version. - * - * For the full copyright and license information, please read the - * LICENSE.txt file that was distributed with this source code. - * - * The TYPO3 project - inspiring people to share! - */ - -Ext.onReady(function() { - Ext.QuickTips.init(); -}); - - // Fix for slider TCA control in IE9 -Ext.override(Ext.dd.DragTracker, { - onMouseMove:function (e, target) { - var isIE9 = Ext.isIE && (/msie 9/.test(navigator.userAgent.toLowerCase())) && document.documentMode != 6; - if (this.active && Ext.isIE && !isIE9 && !e.browserEvent.button) { - e.preventDefault(); - this.onMouseUp(e); - return; - } - e.preventDefault(); - var xy = e.getXY(), s = this.startXY; - this.lastXY = xy; - if (!this.active) { - if (Math.abs(s[0] - xy[0]) > this.tolerance || Math.abs(s[1] - xy[1]) > this.tolerance) { - this.triggerStart(e); - } else { - return; - } - } - this.fireEvent('mousemove', this, e); - this.onDrag(e); - this.fireEvent('drag', this, e); - } -}); \ No newline at end of file diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-67815-RemoveTceformsjsBecauseWeDontNeedItAnymore.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-67815-RemoveTceformsjsBecauseWeDontNeedItAnymore.rst new file mode 100644 index 0000000000000000000000000000000000000000..57d37f187daeb9e563719cfa9ea1535a902cdc61 --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/master/Breaking-67815-RemoveTceformsjsBecauseWeDontNeedItAnymore.rst @@ -0,0 +1,26 @@ +====================================================================== +Breaking: #67815 - Remove tceforms.js because we don't need it anymore +====================================================================== + +Description +=========== + +Since the value slider is based on bootstrap, the last code from ``tceforms.js`` is not needed anymore. + + +Impact +====== + +All instances which include ``sysext/backend/Resources/Public/JavaScript/tceforms.js`` will produce a 404 Not Found error. + + +Affected Installations +====================== + +All instances which include ``sysext/backend/Resources/Public/JavaScript/tceforms.js``. + + +Migration +========= + +Remove all references to the file.