Skip to content

Commit

Permalink
:fix document: ajout du retour vers l'onglet document après modif
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Quinton committed Aug 14, 2019
1 parent 679610a commit c01c7cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions display/templates/gestion/documentChange.tpl
Expand Up @@ -14,9 +14,10 @@
<div class="row">
<form id="documentForm" class="form-horizontal protoform" method="post"
action="index.php" enctype="multipart/form-data">
<input type="hidden" name="document_id" value="0"> <input
type="hidden" name="uid" value="{$data.uid}"> <input
type="hidden" name="module" value="{$moduleParent}documentWrite">
<input type="hidden" name="document_id" value="0">
<input type="hidden" name="uid" value="{$data.uid}">
<input type="hidden" name="module" value="{$moduleParent}documentWrite">
<input type="hidden" name="activeTab" value="tab-document">
<div class="form-group">
<label for="documentName" class="control-label col-md-4">
{t}Fichier(s) à importer :{/t} <br>(doc, jpg, png, pdf, xls, xlsx,
Expand Down
2 changes: 1 addition & 1 deletion display/templates/gestion/documentList.tpl
Expand Up @@ -76,7 +76,7 @@ de création{/t}</th>
{if $droits["gestion"] == 1}
<td>
<div class="center">
<a href="index.php?module={$moduleParent}documentDelete&document_id={$dataDoc[lst].document_id}&uid={$data.uid}" onclick="return confirm('{t}Confirmez-vous la suppression ?{/t}');">
<a href="index.php?module={$moduleParent}documentDelete&document_id={$dataDoc[lst].document_id}&uid={$data.uid}&activeTab=tab-document" onclick="return confirm('{t}Confirmez-vous la suppression ?{/t}');">
<img src="display/images/corbeille.png" height="20">
</a>
</div>
Expand Down

0 comments on commit c01c7cf

Please sign in to comment.