Revision 555e8e59 gss/src/gr/ebs/gss/client/FilePropertiesDialog.java
b/gss/src/gr/ebs/gss/client/FilePropertiesDialog.java | ||
---|---|---|
299 | 299 |
} |
300 | 300 |
|
301 | 301 |
}); |
302 |
path.setText(file.getPath());
|
|
302 |
path.setText(file.getUri());
|
|
303 | 303 |
path.setTitle("Use this URI for sharing this file with the world"); |
304 | 304 |
path.setReadOnly(true); |
305 | 305 |
pathPanel.add(new Label("Sharing URI")); |
... | ... | |
463 | 463 |
GWT.log("NO CHANGES", null); |
464 | 464 |
return; |
465 | 465 |
} |
466 |
ExecutePost cf = new ExecutePost(file.getPath() + "?update=", jsonString, 200) {
|
|
466 |
ExecutePost cf = new ExecutePost(file.getUri() + "?update=", jsonString, 200) {
|
|
467 | 467 |
|
468 | 468 |
public void onComplete() { |
469 | 469 |
GSS.get().getFileList().updateFileCache(true, false /* do not clear selected file*/); |
... | ... | |
496 | 496 |
JSONObject json = new JSONObject(); |
497 | 497 |
json.put("versioned", JSONBoolean.getInstance(false)); |
498 | 498 |
GWT.log(json.toString(), null); |
499 |
ExecutePost cf = new ExecutePost(file.getPath() + "?update=", json.toString(), 200) {
|
|
499 |
ExecutePost cf = new ExecutePost(file.getUri() + "?update=", json.toString(), 200) {
|
|
500 | 500 |
|
501 | 501 |
public void onComplete() { |
502 | 502 |
toggleVersioned(true); |
... | ... | |
527 | 527 |
JSONObject json = new JSONObject(); |
528 | 528 |
json.put("versioned", JSONBoolean.getInstance(versionedValue)); |
529 | 529 |
GWT.log(json.toString(), null); |
530 |
ExecutePost cf = new ExecutePost(file.getPath() + "?update=", json.toString(), 200) {
|
|
530 |
ExecutePost cf = new ExecutePost(file.getUri() + "?update=", json.toString(), 200) {
|
|
531 | 531 |
|
532 | 532 |
public void onComplete() { |
533 | 533 |
GSS.get().getFileList().updateFileCache(true, false /* do not clear selected file*/); |
Also available in: Unified diff