[TASK] Make file_newfolder.php dispatched
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / File / CreateFolderController.php
index b747c16..112401e 100644 (file)
@@ -124,7 +124,7 @@ class CreateFolderController {
                        function reload(a) {    //
                                if (!changed || (changed && confirm(' . GeneralUtility::quoteJSvalue($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.redraw')) . '))) {
                                        var params = "&target="+encodeURIComponent(path)+"&number="+a+"&returnUrl=' . rawurlencode($this->returnUrl) . '";
-                                       window.location.href = "file_newfolder.php?"+params;
+                                       window.location.href = "' . BackendUtility::getModuleUrl('file_newfolder') . '"+params;
                                }
                        }
                        function backToList() { //