X-Git-Url: https://code.grnet.gr/git/pithos-web-client/blobdiff_plain/cde22209110742d0e82858971a983ae0f2211442..4eaecbac181fa9bd306d3a991f81767e572a2200:/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java?ds=sidebyside diff --git a/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java b/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java index 14cc53c..0da9572 100644 --- a/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java +++ b/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java @@ -309,13 +309,13 @@ public class OtherSharedTreeViewModel implements TreeViewModel { public void fetchFolder(final Folder f, final ListDataProvider dataProvider, final boolean showfiles, final Command callback) { String path = "/" + f.getContainer() + "?format=json&delimiter=/&prefix=" + URL.encodeQueryString(f.getPrefix()); - GetRequest getFolder = new GetRequest(Folder.class, app.getApiPath(), f.getOwner(), path, f) { + GetRequest getFolder = new GetRequest(Folder.class, app.getApiPath(), f.getOwnerID(), path, f) { @Override public void onSuccess(final Folder _result) { if (showfiles) app.showFiles(_result); Iterator iter = _result.getSubfolders().iterator(); - fetchFolder(_result.getOwner(), iter, dataProvider, new Command() { + fetchFolder(_result.getOwnerID(), iter, dataProvider, new Command() { @Override public void execute() { dataProvider.getList().clear();