Explorar o código

Fixed file explorer shortcut open bug on windows host

tobychui %!s(int64=4) %!d(string=hai) anos
pai
achega
f4856119c7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
                 });