|
|
|
@ -1493,10 +1493,6 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
return wsPortlet.getBorderLayoutContainer();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// public ExplorerPanel getExplorerPanel() {
|
|
|
|
|
// return wsPortlet.getExplorerPanel();
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the size async tree panel.
|
|
|
|
|
*
|
|
|
|
@ -1587,7 +1583,12 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
if(uploadType.equals(WS_UPLOAD_TYPE.File)){
|
|
|
|
|
GWT.log("Calling addFileToStoreById "+parentId);
|
|
|
|
|
//IF IS OVERWRITE DELETE BEFORE THE ITEM FORM STORE
|
|
|
|
|
addFileToStoreById(itemIdentifier, parentId, isOverwrite);
|
|
|
|
|
if(itemIdentifier!=null)
|
|
|
|
|
addFileToStoreById(itemIdentifier, parentId, isOverwrite);
|
|
|
|
|
else{
|
|
|
|
|
//IS AN ADD URL?
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}else{ //is ARCHIVE
|
|
|
|
|
updateStoreByRpc(wsPortlet.getToolBarPath().getLastParent());
|
|
|
|
|
}
|
|
|
|
@ -1603,6 +1604,7 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
*/
|
|
|
|
|
private boolean parentIsBreadcrumbLastParent(String parentId){
|
|
|
|
|
FileModel breadParent = wsPortlet.getToolBarPath().getLastParent();
|
|
|
|
|
GWT.log("Comparing parentId: "+parentId +" and bread parent: "+breadParent.getIdentifier());
|
|
|
|
|
return breadParent!=null && parentId!=null && breadParent.getIdentifier().compareTo(parentId)==0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1629,6 +1631,7 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
if(deleteCurrentItem)
|
|
|
|
|
wsPortlet.getGridGroupContainer().deleteItem(itemIdentifier);
|
|
|
|
|
|
|
|
|
|
GWT.log("Add to store: "+result);
|
|
|
|
|
wsPortlet.getGridGroupContainer().addToStore(result);
|
|
|
|
|
// wsPortlet.getGridGroupContainer().unmask();
|
|
|
|
|
}
|
|
|
|
|