Fix link to files

This commit is contained in:
Laurent Destailleur
2017-03-25 01:29:19 +01:00
parent aa9d991923
commit df59a595de
2 changed files with 2 additions and 1 deletions

View File

@@ -1726,7 +1726,7 @@ function dol_check_secure_access_document($modulepart,$original_file,$entity,$fu
$original_file=$conf->expedition->dir_output."/sending/".$original_file; $original_file=$conf->expedition->dir_output."/sending/".$original_file;
} }
// Wrapping pour les bons de livraison // Wrapping pour les bons de livraison
if ($modulepart == 'livraison' && !empty($conf->expedition->dir_output)) else if ($modulepart == 'livraison' && !empty($conf->expedition->dir_output))
{ {
if ($fuser->rights->expedition->livraison->lire || preg_match('/^specimen/i',$original_file)) if ($fuser->rights->expedition->livraison->lire || preg_match('/^specimen/i',$original_file))
{ {

View File

@@ -40,6 +40,7 @@ $(document).ready(function(){
$(".tdlineupdown").css("background-repeat","no-repeat"); $(".tdlineupdown").css("background-repeat","no-repeat");
$(".tdlineupdown").css("background-position","center center"); $(".tdlineupdown").css("background-position","center center");
console.log("Prepare tableDnd for #<?php echo $tagidfortablednd; ?>");
$("#<?php echo $tagidfortablednd; ?>").tableDnD({ $("#<?php echo $tagidfortablednd; ?>").tableDnD({
onDrop: function(table, row) { onDrop: function(table, row) {
var reloadpage = "<?php echo $forcereloadpage; ?>"; var reloadpage = "<?php echo $forcereloadpage; ?>";