Project

General

Profile

Actions

Bug #24773

closed

The FlashUploader does not disappear anymore

Added by Steffen Gebert over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-01-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After successfully uploading files, the FlashUploader usually disappears.

Since #24720 this is not the case anymore.

The line

top.nav = component;

causes a JS error: top.nav is undefined

Removing it solves the issue.

(issue imported from #M17280)


Files

17280.patch (572 Bytes) 17280.patch Administrator Admin, 2011-01-25 10:55

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24720: Backwards compatibility broken and JS errors when editing files in file list moduleClosedSusanne Moog2011-01-22

Actions
Actions #1

Updated by Steffen Gebert over 13 years ago

Funny thing (which makes the whole issue to complicated for me as JS-ignorant):

The uploader also needs your fix for compatibility (or at least the tree frame..)

Before this patch top.nav.refresh() could not be executed, as it was undefined in this code (somewhere inline code):

(function (evt) {with (this.ownerDocument ? this.ownerDocument : {}) {with (this.form ? this.form : {}) {with (this) {return (function(evt){if (top.TYPO3.FileUploadWindow.isFlashAvailable()) { initFlashUploader("%2Fopt%2Flocal%2Fapache2%2Fvhosts%2Ftypo3dev%2Ffileadmin%2Ftest2%2F"); } else if(top.content.list_frame){top.content.list_frame.location.href=top.TS.PATH_typo3+'file_upload.php?target=%2Fopt%2Flocal%2Fapache2%2Fvhosts%2Ftypo3dev%2Ffileadmin%2Ftest2%2F';}top.nav.refresh();Clickmenu.hideAll();
}).call(this, evt);}}}})

Actions #2

Updated by Steffen Gebert over 13 years ago

Hint: This problem only occurs, if the FlashUploader is opened using the Context Menu of the File tree.

Actions #3

Updated by Steffen Kamper over 13 years ago

solved - all problems (to note: coming from clickmenu) are because the upload link force a reload of the nav frame, so the caller script is no more valid, a nobrainer :)

Actions #4

Updated by Steffen Gebert over 13 years ago

rev 10296

Actions

Also available in: Atom PDF