Revision 129b42a0 src/gr/grnet/pithos/web/client/FilePermissionsDialog.java
b/src/gr/grnet/pithos/web/client/FilePermissionsDialog.java | ||
---|---|---|
259 | 259 |
} |
260 | 260 |
else { |
261 | 261 |
b.setPath(app.getApiPath() + file.getOwner() + file.getUri()); |
262 |
path.setText(GWT.getModuleBaseURL() + "?goto=" + b.buildString()); |
|
262 |
String href = Window.Location.getHref(); |
|
263 |
boolean hasParameters = href.contains("?"); |
|
264 |
path.setText(href + (hasParameters ? "&" : "?") + "goto=" + b.buildString()); |
|
263 | 265 |
} |
264 | 266 |
pathPanel.setVisible(true); |
265 | 267 |
} |
Also available in: Unified diff