}\r
else {\r
b.setPath(app.getApiPath() + file.getOwner() + file.getUri());\r
- path.setText(GWT.getModuleBaseURL() + "?goto=" + b.buildString());\r
+ String href = Window.Location.getHref();\r
+ boolean hasParameters = href.contains("?");\r
+ path.setText(href + (hasParameters ? "&" : "?") + "goto=" + b.buildString());\r
}\r
pathPanel.setVisible(true);\r
}\r