cancel
Showing results for 
Search instead for 
Did you mean: 

Share customization: dnd/flash uploader

alami74
Champ in-the-making
Champ in-the-making
Hi.
I'm customizing Alfresco Share interface and I would like to customize flash uploader to let the user choose content type, but when I click "upload" button dnd uploader is shown instead of the flash one. So when I select the files to upload the overlay is automatically closed. How can I modify configuration to show flash uploader and see the selected files?
1 REPLY 1

ddraper
World-Class Innovator
World-Class Innovator
The underlying widget behind the DND uploader is used in 4.2c for both regular and drag and drop uploads. You can customize the behaviour by updating the webapps\share\components\upload\dnd-upload.js upload file. At the end of the "_adjustGuiIfFinished" function a check is made to see if there are any failed uploads and if there are not then the dialog is closed. You can change this code to keep the upload dialog on the screen once uploads have finished.