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:
parent
182c25d7b8
commit
0fcabc027b
@ -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;
|
||||
|
@ -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…
Reference in New Issue
Block a user