fix: file suffix extra slash
This commit is contained in:
parent
d69c7ac251
commit
c51d66f3a5
@ -22,7 +22,7 @@ function updateShareChoice(shareName, event) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
function getCurrentPath() { return window.filegatewayUrl + window.fileSessionId + "/" + encodeURI(window.fileShareName) + "/" + encodeURI(window.currentPath.join("/")) + "/" }
|
||||
function getCurrentPath() { return window.filegatewayUrl + window.fileSessionId + "/" + encodeURI(window.fileShareName) + "/" + encodeURI(window.currentPath.join("/")) + (window.currentPath.length > 0 ? "/" : "") }
|
||||
function getSize(fileSize) {
|
||||
var size = parseFloat(fileSize);
|
||||
var units = ['B', 'KB', 'MB', 'GB', 'TB'];
|
||||
|
Loading…
Reference in New Issue
Block a user