[BUGFIX] Do not open EditDocumentController in modal
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / Classes / RecordList / DatabaseRecordList.php
index 06d68db..87e9e2f 100644 (file)
@@ -1688,7 +1688,7 @@ class DatabaseRecordList
                                         'returnUrl' => GeneralUtility::getIndpEnv('REQUEST_URI'),
                                     ]
                                 );
-                                $icon = '<a href="#" data-url="' . htmlspecialchars($url) . '" '
+                                $icon = '<a href="' . htmlspecialchars($url) . '" '
                                     . 'data-title="' . htmlspecialchars($lang->getLL('new')) . '"'
                                     . 'class="btn btn-default t3js-toggle-new-content-element-wizard">'
                                     . $spriteIcon->render()