add missing paramenter to post request
This commit is contained in:
parent
815e964362
commit
ac1b2a74ef
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue