[TYPO3-dev] PostInitializationModules on backend with requirejs

elias eliasfernandez at gmail.com
Mon Sep 18 18:06:17 CEST 2017


I want to override the default option on DragUploader over the files ( i want to rename by default on the selector when there is a file with the same name on upload), so when i was looking for the best way to override:

typo3/sysext/backend/Resources/Public/Javascript/DragUploader.js

i have found that option:

$.each(TYPO3.settings.RequireJS.PostInitializationModules['TYPO3/CMS/Backend/DragUploader'], function(pos, moduleName) {
				require([moduleName]);
});


Seems that you could extends the behaviour of draguploader from there, but there is no documentation about how this must be done. Can someone explain how it could be done?.





More information about the TYPO3-dev mailing list