Added SVN keywords: Id, Date, Revision and Author
[Packages/TYPO3.CMS.git] / typo3 / alt_file_navframe.php
index e1bb503..880c324 100644 (file)
@@ -124,6 +124,7 @@ class SC_alt_file_navframe {
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->backPath = $BACK_PATH;
                $this->doc->setModuleTemplate('templates/alt_file_navframe.html');
+               $this->doc->showFlashMessages = FALSE;
 
                        // Adding javascript code for AJAX (prototype), drag&drop and the filetree as well as the click menu code
                $this->doc->getDragDropCode('folders');
@@ -169,7 +170,7 @@ class SC_alt_file_navframe {
 
                                // do a reload of this frame once all uploads are done
                        flashUploader.on("totalcomplete", function() {
-                               jumpTo(path, "", "", "");
+                               jumpTo (top.rawurlencode(path), "", "", "");
                        });
 
                                // this is the callback function that delivers the additional post parameter to the flash application
@@ -195,7 +196,7 @@ class SC_alt_file_navframe {
                        }
                        top.fsMod.currentBank = bank;
 
-                       if (top.condensedMode) {
+                       if (top.TYPO3.configuration.condensedMode) {
                                top.content.location.href = theUrl;
                        } else {
                                parent.list_frame.location.href=theUrl;