[CLEANUP] ElementBrowser classes
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / EditDocumentController.php
index 1239dc4..8a18a0c 100644 (file)
@@ -730,8 +730,11 @@ class EditDocumentController {
                                // Info view:
                        function launchView(table,uid,bP) {     //
                                var backPath= bP ? bP : "";
-                               var thePreviewWindow="";
-                               thePreviewWindow = window.open(backPath+' . GeneralUtility::quoteJSvalue(BackendUtility::getModuleUrl('show_item', array(), '') . '&table=') . '+encodeURIComponent(table)+"&uid="+encodeURIComponent(uid),"ShowItem"+TS.uniqueID,"height=300,width=410,status=0,menubar=0,resizable=0,location=0,directories=0,scrollbars=1,toolbar=0");
+                               var thePreviewWindow = window.open(
+                                       backPath+' . GeneralUtility::quoteJSvalue(BackendUtility::getModuleUrl('show_item') . '&table=') . ' + encodeURIComponent(table) + "&uid=" + encodeURIComponent(uid),
+                                       "ShowItem" + TS.uniqueID,
+                                       "height=300,width=410,status=0,menubar=0,resizable=0,location=0,directories=0,scrollbars=1,toolbar=0"
+                               );
                                if (thePreviewWindow && thePreviewWindow.focus) {
                                        thePreviewWindow.focus();
                                }