diff --git a/Logic/Support/Documents.cs b/Logic/Support/Documents.cs
index fc039b28..2b4bf78a 100644
--- a/Logic/Support/Documents.cs
+++ b/Logic/Support/Documents.cs
@@ -59,9 +59,9 @@ namespace Swarmops.Logic.Support
}
- public static Documents RecentFromGuid (Guid guid)
+ public static Documents RecentFromDescription (string description)
{
- return FromArray (SwarmDb.GetDatabaseForReading().GetDocumentsRecentByDescription (guid.ToString()));
+ return FromArray (SwarmDb.GetDatabaseForReading().GetDocumentsRecentByDescription (description));
}
diff --git a/Site5/Controls/v5/Base/FileUpload.ascx b/Site5/Controls/v5/Base/FileUpload.ascx
index 5396de3c..a51f2de3 100644
--- a/Site5/Controls/v5/Base/FileUpload.ascx
+++ b/Site5/Controls/v5/Base/FileUpload.ascx
@@ -13,7 +13,7 @@
$(document).ready(function() {
$('#ButtonUploadHidden').fileupload({
- url: '/Automation/UploadFileHandler.ashx?Guid=<%= Guid.ToString() %>',
+ url: '/Automation/UploadFileHandler.ashx?Guid=<%= GuidString %>',
dataType: 'json',
done: function(e, data) {
$.each(data.result, function(index, file) {
@@ -54,6 +54,7 @@
});
+