From 0704f2c2ab2d8373d02752bab796655918458092 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 18 Sep 2013 07:16:12 +0000 Subject: [PATCH] WTF? Where did that corruption come from? --- Site5/Pages/v5/Financial/FileExpenseClaim.aspx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Site5/Pages/v5/Financial/FileExpenseClaim.aspx b/Site5/Pages/v5/Financial/FileExpenseClaim.aspx index 240b1390..2d2d9b6f 100644 --- a/Site5/Pages/v5/Financial/FileExpenseClaim.aspx +++ b/Site5/Pages/v5/Financial/FileExpenseClaim.aspx @@ -30,10 +30,8 @@ }); - // Change this to the location of your server-side upload handler: - var url = '/Automation/UploadFileHandler.ashx'; $('#ButtonUploadHidden').fileupload({ - url: url, + url: '/Automation/UploadFileHandler.ashx', dataType: 'json', done: function (e, data) { $('#DivProgressUpload').progressbar({ value: 100 }); @@ -41,10 +39,6 @@ $.each(data.files, function(index, file) { $('#DivUploadCount').append(''); }); - /* - $.each(data.result.files, function (index, file) { - $('

').text(file.name).appendTo('#files'); - });*/ }, progressall: function (e, data) { var progress = parseInt(data.loaded / data.total * 100, 10);