This commit is contained in:
Francesco Mangiacrapa 2013-03-25 18:02:08 +00:00
parent d8c64c7990
commit cc70fa0597
1 changed files with 3 additions and 3 deletions

View File

@ -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());