add missing paramenter to post request

This commit is contained in:
Björn Schießle 2013-02-19 11:50:29 +01:00
parent 815e964362
commit ac1b2a74ef

View file

@ -34,7 +34,7 @@ $(document).ready(function() {
deleteAction[0].outerHTML = newHTML; deleteAction[0].outerHTML = newHTML;
$.post(OC.filePath('files_trashbin','ajax','delete.php'), $.post(OC.filePath('files_trashbin','ajax','delete.php'),
{files:tr.attr('data-file') }, {files:tr.attr('data-file'), dirlisting:tr.attr('data-dirlisting') },
function(result){ function(result){
if ( result.status == 'success' ) { if ( result.status == 'success' ) {
var row = document.getElementById(result.data.filename); var row = document.getElementById(result.data.filename);