Working on move

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@172041 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-10-08 13:58:05 +00:00
parent 08b321cf87
commit 6a046f31db
1 changed files with 3 additions and 3 deletions

View File

@ -1943,15 +1943,15 @@ public class AppController implements SubscriberInterface {
* @see org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface#pasteEventIsCompleted()
*/
@Override
public void moveEventIsCompleted(boolean isTreeRefreshable, String parentId) {
public void moveEventIsCompleted(boolean refreshingTheTree, String parentId) {
wsPortlet.getGridGroupContainer().unmask();
if(isTreeRefreshable){
if(refreshingTheTree){
wsPortlet.getGridGroupContainer().unmask();
}else{ //FORCE GRID REFRESH
FileModel lastBreadCrumb = wsPortlet.getToolBarPath().getLastParent();
GWT.log("PasteEventIsCompleted tree is not refreshable");
GWT.log("moveEventIsCompleted tree is not refreshable");
if(lastBreadCrumb!=null){
GWT.log("Comparing breadcrumb id: "+lastBreadCrumb.getIdentifier() + " and parent id: "+parentId);