2
0
forked from Wavyzz/dolibarr

Fix: delete of documents is done by page of element, not by the view

wrapper.
This commit is contained in:
Laurent Destailleur
2012-05-29 23:50:13 +02:00
parent 446ae46557
commit 3fc3292142
27 changed files with 340 additions and 217 deletions

View File

@@ -147,7 +147,8 @@ if (! empty($_POST['removedfile']) || ! empty($_POST['removedfilehtml']))
$result = dol_delete_file($pathtodelete,1);
if ($result >= 0)
{
$message = '<div class="ok">'.$langs->trans("FileWasRemoved",$filetodelete).'</div>';
$langs->load("other");
$message = '<div class="ok">'.$langs->trans("FileWasRemoved",$filetodelete).'</div>';
//print_r($_FILES);
include_once(DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php');