Revision ee77dbf1 src/gr/grnet/pithos/web/client/FilePublishDialog.java
b/src/gr/grnet/pithos/web/client/FilePublishDialog.java | ||
---|---|---|
230 | 230 |
|
231 | 231 |
protected void updateMetaData(String api, String owner, final String path, final Boolean published) { |
232 | 232 |
if (published != null) { |
233 |
PostRequest updateFile = new PostRequest(api, owner, path) { |
|
233 |
PostRequest updateFile = new PostRequest(app, api, owner, path) {
|
|
234 | 234 |
@Override |
235 | 235 |
public void onSuccess(Resource result) { |
236 |
HeadRequest<File> headFile = new HeadRequest<File>(File.class, app.getApiPath(), file.getOwnerID(), path, file) { |
|
236 |
HeadRequest<File> headFile = new HeadRequest<File>(app, File.class, app.getApiPath(), file.getOwnerID(), path, file) {
|
|
237 | 237 |
|
238 | 238 |
@Override |
239 | 239 |
public void onSuccess(File _result) { |
Also available in: Unified diff