Ver Fonte

Fixed file explorer shortcut open bug on windows host

tobychui há 4 anos atrás
pai
commit
f4856119c7
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      web/SystemAO/file_system/file_explorer.html

+ 1 - 0
web/SystemAO/file_system/file_explorer.html

@@ -2716,6 +2716,7 @@
             function getShortcutInfo(filepath, callback){
                 $.get("../../media?file=" + filepath, function(data){
                     //This return the shortcut information. Split it and see what shortcut is this
+                    data = data.split("\r\n").join("\n");
                     var shortcutInfo = data.trim().split("\n");
                     callback(shortcutInfo);
                 });