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:
parent
08b321cf87
commit
6a046f31db
|
@ -1943,15 +1943,15 @@ public class AppController implements SubscriberInterface {
|
||||||
* @see org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface#pasteEventIsCompleted()
|
* @see org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface#pasteEventIsCompleted()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void moveEventIsCompleted(boolean isTreeRefreshable, String parentId) {
|
public void moveEventIsCompleted(boolean refreshingTheTree, String parentId) {
|
||||||
|
|
||||||
wsPortlet.getGridGroupContainer().unmask();
|
wsPortlet.getGridGroupContainer().unmask();
|
||||||
|
|
||||||
if(isTreeRefreshable){
|
if(refreshingTheTree){
|
||||||
wsPortlet.getGridGroupContainer().unmask();
|
wsPortlet.getGridGroupContainer().unmask();
|
||||||
}else{ //FORCE GRID REFRESH
|
}else{ //FORCE GRID REFRESH
|
||||||
FileModel lastBreadCrumb = wsPortlet.getToolBarPath().getLastParent();
|
FileModel lastBreadCrumb = wsPortlet.getToolBarPath().getLastParent();
|
||||||
GWT.log("PasteEventIsCompleted tree is not refreshable");
|
GWT.log("moveEventIsCompleted tree is not refreshable");
|
||||||
|
|
||||||
if(lastBreadCrumb!=null){
|
if(lastBreadCrumb!=null){
|
||||||
GWT.log("Comparing breadcrumb id: "+lastBreadCrumb.getIdentifier() + " and parent id: "+parentId);
|
GWT.log("Comparing breadcrumb id: "+lastBreadCrumb.getIdentifier() + " and parent id: "+parentId);
|
||||||
|
|
Loading…
Reference in New Issue