Added "Desktop" in special folder (in files navigation)
This commit is contained in:
@@ -287,6 +287,13 @@ namespace CMS_Client.Browser_Tools
|
||||
Type = ElaborateType(drive.DriveType)
|
||||
});
|
||||
}
|
||||
|
||||
drivelist.Add(new Drive()
|
||||
{
|
||||
Name = ElaborateName("Desktop", DriveType.Unknown),
|
||||
Path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)+"\\",
|
||||
Type = "SPFO"
|
||||
});
|
||||
e.SetReturnValue(JsonConvert.SerializeObject(drivelist));
|
||||
}
|
||||
|
||||
@@ -430,7 +437,7 @@ namespace CMS_Client.Browser_Tools
|
||||
case DriveType.Removable: return "USB";
|
||||
case DriveType.Network: return "NTW";
|
||||
}
|
||||
return "UNDEFINED";
|
||||
return "SPFO";
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user