Revision dc8cc18a src/gr/grnet/pithos/web/client/FilePermissionsDialog.java
b/src/gr/grnet/pithos/web/client/FilePermissionsDialog.java | ||
---|---|---|
262 | 262 |
|
263 | 263 |
protected void updateMetaData(String api, String owner, final String path, final Map<String, Boolean[]> newPermissions) { |
264 | 264 |
if (newPermissions != null) { |
265 |
PostRequest updateFile = new PostRequest(app, api, owner, path) {
|
|
265 |
PostRequest updateFile = new PostRequest(api, owner, path) { |
|
266 | 266 |
@Override |
267 | 267 |
public void onSuccess(Resource result) { |
268 |
HeadRequest<File> headFile = new HeadRequest<File>(app, File.class, app.getApiPath(), file.getOwnerID(), path, file) {
|
|
268 |
HeadRequest<File> headFile = new HeadRequest<File>(File.class, app.getApiPath(), file.getOwnerID(), path, file) { |
|
269 | 269 |
|
270 | 270 |
@Override |
271 | 271 |
public void onSuccess(File _result) { |
Also available in: Unified diff