git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@71747 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d8c64c7990
commit
cc70fa0597
|
@ -438,9 +438,9 @@ public class AppController implements SubscriberInterface {
|
|||
FileModel parent = null;
|
||||
|
||||
//FILE UPLOAD CASES..
|
||||
if(fileUploadEvent.getParentFileModel()!=null){
|
||||
parent = fileUploadEvent.getParentFileModel();
|
||||
GWT.log("get parent item for uploading from parent of file model: " +fileUploadEvent.getParentFileModel().getName());
|
||||
if(fileUploadEvent.getTargetFolderModel()!=null){
|
||||
parent = fileUploadEvent.getTargetFolderModel();
|
||||
GWT.log("get parent item for uploading from parent of file model: " +fileUploadEvent.getTargetFolderModel().getName());
|
||||
}else if(wsPortlet.getGridGroupContainer().getCurrentFolderView()!=null && !wsPortlet.getSearchAndFilterContainer().isSearchActive()){
|
||||
parent = wsPortlet.getGridGroupContainer().getCurrentFolderView();
|
||||
GWT.log("get parent item for uploading from CurrentFolderView: " +parent.getName());
|
||||
|
|
Loading…
Reference in New Issue