main
Thomas Chazot 2 years ago
parent 0bee2dcc22
commit 4f7ef62237

@ -50,6 +50,7 @@
<input type="submit" value="Submit"/> <input type="submit" value="Submit"/>
<input type="hidden" name='task' value="<?=$dataView->getId()?>"/> <input type="hidden" name='task' value="<?=$dataView->getId()?>"/>
<inp
<input type="hidden" name="action" value="modifyTask"/> <input type="hidden" name="action" value="modifyTask"/>
</form> </form>

@ -243,10 +243,16 @@ class VisitorController {
$completed=true; $completed=true;
} }
$model = new MdlTache(); $model = new MdlTache();
$tache=$model->findById($_POST['task']); $tache=$model->findById($_POST['task']);
$model->update($tache, $name, $content, $completed); $model->update($tache, $name, $content, $completed);
$_REQUEST['action']="goHome"; $_REQUEST['action']="goHome";
$this->Reinit(); $this->Reinit();
/*
$model->update($tache, $name, $content, $completed);
$_REQUEST['action']="accessListInfos";
$this->accessListInfos($dVueEreur);
*/
$dVueEreur= array(); $dVueEreur= array();
} }
} }

Loading…
Cancel
Save