Revision dc8cc18a src/gr/grnet/pithos/web/client/FilePropertiesDialog.java
b/src/gr/grnet/pithos/web/client/FilePropertiesDialog.java | ||
---|---|---|
261 | 261 |
|
262 | 262 |
if (newFilename != null) { |
263 | 263 |
final String path = file.getParent().getUri() + "/" + newFilename; |
264 |
PutRequest updateFile = new PutRequest(app, app.getApiPath(), app.getUserID(), path) {
|
|
264 |
PutRequest updateFile = new PutRequest(app.getApiPath(), app.getUserID(), path) { |
|
265 | 265 |
@Override |
266 | 266 |
public void onSuccess(Resource result) { |
267 | 267 |
updateMetaData(app.getApiPath(), file.getOwnerID(), path, newMeta); |
... | ... | |
319 | 319 |
|
320 | 320 |
protected void updateMetaData(final String api, final String owner, final String path, Map<String, String> newMeta) { |
321 | 321 |
if (newMeta != null) { |
322 |
PostRequest updateFile = new PostRequest(app, api, owner, path + "?update=") {
|
|
322 |
PostRequest updateFile = new PostRequest(api, owner, path + "?update=") { |
|
323 | 323 |
@Override |
324 | 324 |
public void onSuccess(Resource result) { |
325 | 325 |
if (!app.isMySharedSelected()) |
Also available in: Unified diff