fixed uploading from grid
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@71704 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
95a8de8def
commit
110557f426
|
@ -682,8 +682,9 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
||||||
FileModel folder = fileUploadEvent.getParentFileModel();
|
FileModel folder = fileUploadEvent.getParentFileModel();
|
||||||
|
|
||||||
if(folder == null)
|
if(folder == null)
|
||||||
folder = getSelectedFolderInTree();
|
folder = explorerPanel.getAsycTreePanel().getRootItem();
|
||||||
|
// folder = getSelectedFolderInTree();
|
||||||
|
|
||||||
if(fileUploadEvent.getUploadTypeToString().equals(UploadType.ARCHIVE.toString()))
|
if(fileUploadEvent.getUploadTypeToString().equals(UploadType.ARCHIVE.toString()))
|
||||||
new DialogUpload(ConstantsExplorer.ARCHIVEUPLOADHEADER, folder.getName(), folder, ConstantsExplorer.ARCHIVE);
|
new DialogUpload(ConstantsExplorer.ARCHIVEUPLOADHEADER, folder.getName(), folder, ConstantsExplorer.ARCHIVE);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue