Browse Source

Fixed missing file name from delete page.

tags/2.0.3
Teknikode 4 years ago
parent
commit
0fcabc027b

+ 1
- 1
Teknik/Areas/Upload/Controllers/UploadController.cs View File

@@ -136,7 +136,7 @@ namespace Teknik.Areas.Upload.Controllers
if (upload != null)
{
DeleteViewModel model = new DeleteViewModel();
model.File = file;
if (!string.IsNullOrEmpty(upload.DeleteKey) && upload.DeleteKey == key)
{
string filePath = upload.FileName;

+ 0
- 5
Teknik/Areas/Upload/Scripts/EncryptionWorker.js View File

@@ -73,11 +73,6 @@
total: bytes.length - 1
};

// convert array to ArrayBuffer
//var arBuf = _arrayToArrayBuffer(prog);

//throw JSON.stringify({ dataLength: prog.length, len: bytes.length, finalLength: arBuf.byteLength })

// Now package it into a mesage to send home
var objData =
{

Loading…
Cancel
Save