Commit 89258183 by tarokkk

webjs: changed file: to cloudfile:

parent 4eb40732
......@@ -351,7 +351,7 @@ $(function() {
*/
self.download = function(item) {
if(window.navigator.userAgent.indexOf('cloud-gui')>-1){
window.location.href = 'file:'+self.currentPath() + item.originalName;
window.location.href = 'cloudfile:'+self.currentPath() + item.originalName;
return;
}
$.ajax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment