Bug #62962
closed"Select & upload files" is random visible
0%
Description
I've wrote an extension with image upload in TCA and somtimes is the button "Select & upload files" missing.
Example: I open data set first time - button missing. I open data set second time - button is visible.
This button is to do a multi upload of images. I can see the button in HTML.
I believe the issue is in the file DragUploader.js (typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js).
There is a condition "DnD: 'draggable' in document.createElement('span')," (row 48) and maybe this is sometimes called to early.
This behavior is in Internet Explorer 10 + 11 and Chrome 38.
If I open the console in Internet Explorer (F12) and open the data set, the button is always there.
System:
Windows 7
Typo3 6.2.4 + 6.2.6
TCA:
'bilder' => array(
'exclude' => 0,
'label' => 'LLL:EXT:...attribute.bilder',
'config' =>
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'bilder',
array('maxitems' => 10),
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
),
Updated by Matthias Krappitz over 9 years ago
I also put a bit of research into this one and can confirm, but I disagree with one detail of the above:
There is a condition "DnD: 'draggable' in document.createElement('span')," (row 48) and maybe this is sometimes called to early.
To be more precise I found out that the specific line 125 (me.$element.show();) in file typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js, where this button is about to become visible, once the JS has decided that the client browser is drag and drop capable is just not called sometimes in IE (11). This especially happens when the IE console is closed. We found this once we used an alert() in the code just before line 125. We did not investigate any further if this is because the whole js file is disregarded or anything else is going wrong in the backends js structure.
Updated by Mathias Schreiber over 9 years ago
- Target version changed from next-patchlevel to 7.4 (Backend)
Updated by Susanne Moog about 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber almost 9 years ago
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
can you check if this is still the case with the current master branch?
We cleaned up FormEngine and the according JS files a lot, so I wonder if this is still an issue
Updated by Benjamin Kott almost 9 years ago
Cannot be reproduced, seems to be resolved.
Updated by Benjamin Kott almost 9 years ago
- Status changed from Needs Feedback to Closed