1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Fixed missing file name from delete page.

This commit is contained in:
Uncled1023 2016-01-21 10:01:48 -08:00
parent 182c25d7b8
commit 0fcabc027b
2 changed files with 1 additions and 6 deletions

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;

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 =
{