FIX keep assigned users in session when loading projects and tasks
This commit is contained in:
parent
3bc122ecf6
commit
d1e9f3a505
@ -908,7 +908,7 @@ if ($action == 'create')
|
||||
$numproject=$formproject->select_projects((! empty($societe->id)?$societe->id:-1), $projectid, 'projectid', 0, 0, 1, 1);
|
||||
|
||||
print ' <a href="'.DOL_URL_ROOT.'/projet/card.php?socid='.$societe->id.'&action=create"><span class="valignmiddle text-plus-circle">'.$langs->trans("AddProject").'</span><span class="fa fa-plus-circle valignmiddle paddingleft"></span></a>';
|
||||
$urloption='?action=create';
|
||||
$urloption = '?action=create&donotclearsession=1';
|
||||
$url = dol_buildpath('comm/action/card.php', 2).$urloption;
|
||||
|
||||
// update task list
|
||||
@ -1325,7 +1325,7 @@ if ($id > 0)
|
||||
{
|
||||
print '<td id="project-task-input-container" >';
|
||||
|
||||
$urloption='?action=create'; // we use create not edit for more flexibility
|
||||
$urloption = '?action=create&donotclearsession=1'; // we use create not edit for more flexibility
|
||||
$url = DOL_URL_ROOT.'/comm/action/card.php'.$urloption;
|
||||
|
||||
// update task list
|
||||
|
||||
Loading…
Reference in New Issue
Block a user