this.userID = authSplit[0];
this.userToken = authSplit[1];
- String gotoUrl = Window.Location.getParameter("goto");
- if(gotoUrl != null && gotoUrl.length() > 0) {
- Window.Location.assign(gotoUrl);
- return false;
- }
return true;
}
return Pithos.getStorageViewURL() + file.getOwnerID() + file.getUri();
}
+ public static String getVersionedFileViewURL(File file, int version) {
+ return getFileViewURL(file) + "?version=" + version;
+ }
+
/**
* History support for folder navigation
* adds a new browser history entry