fix for file transfer: sort row and remove empty dir

This commit is contained in:
rustdesk committed 2021-07-26 02:50:33 +08:00
1 parent 9a86a595ff
commit 1ee92c9f68
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ class Grid: Behavior {
var getValue = function(x) {
var value = x.attributes["value"];
if (value == undefined) return x.text.toLowerCase();
return value.toInteger();
return value.toFloat();
}
var sort = function(r1, r2, asc) {
if (r1[1].text == "..") {