updated to be backward compatible
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@134741 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1c448b043d
commit
bc5c50db33
|
@ -88,7 +88,7 @@ public class WorkspaceUploader implements EntryPoint {
|
|||
// MultipleDilaogUpload uploadStream = new MultipleDilaogUpload(headerTitle, parentId, org.gcube.portlets.widgets.workspaceuploader.client.uploader.DialogUpload.UPLOAD_TYPE.File);
|
||||
// uploadStream.initFileReader();
|
||||
// uploadStream.center();
|
||||
dnd.setParameters(parentId, UPLOAD_TYPE.File, GCubeClientContext.getCurrentContextId());
|
||||
dnd.setParameters(parentId, UPLOAD_TYPE.File);
|
||||
|
||||
}
|
||||
});
|
||||
|
|
|
@ -88,7 +88,7 @@ public class MultipleDNDUpload extends LayoutPanel implements HasWorskpaceUpload
|
|||
HTML html = new HTML(dnd);
|
||||
this.add(html);
|
||||
scopeGroupId = GCubeClientContext.getCurrentContextId();
|
||||
setParameters(parentId, uploadType, scopeGroupId);
|
||||
setParameters(parentId, uploadType);
|
||||
}
|
||||
|
||||
|
||||
|
@ -132,10 +132,10 @@ public class MultipleDNDUpload extends LayoutPanel implements HasWorskpaceUpload
|
|||
* @param uploadType
|
||||
* the upload type
|
||||
*/
|
||||
public void setParameters(String parentId, UPLOAD_TYPE uploadType, String scopeGroupId) {
|
||||
public void setParameters(String parentId, UPLOAD_TYPE uploadType) {
|
||||
this.idFolder = parentId;
|
||||
this.type = uploadType;
|
||||
this.scopeGroupId = scopeGroupId;
|
||||
this.scopeGroupId = GCubeClientContext.getCurrentContextId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue