Fix broken user mentions in comment form at the bottom of the task view page
This commit is contained in:
@@ -11,6 +11,7 @@ Improvements:
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
* Fix broken user mentions in comment form at the bottom of the task view page
|
||||||
* Ensure project tags are removed when the project is removed
|
* Ensure project tags are removed when the project is removed
|
||||||
* Avoid PHP notice when regenerating API token for a user
|
* Avoid PHP notice when regenerating API token for a user
|
||||||
* Fix wrong dropdown menu in group members list
|
* Fix wrong dropdown menu in group members list
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<form method="post" action="<?= $this->url->href('CommentListController', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
|
<form method="post" action="<?= $this->url->href('CommentListController', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
|
||||||
<?= $this->form->csrf() ?>
|
<?= $this->form->csrf() ?>
|
||||||
<?= $this->form->textEditor('comment', array(), array(), array('required' => true)) ?>
|
<?= $this->form->textEditor('comment', array('project_id' => $task['project_id']), array(), array('required' => true)) ?>
|
||||||
<?= $this->modal->submitButtons() ?>
|
<?= $this->modal->submitButtons() ?>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -25,7 +25,11 @@
|
|||||||
|
|
||||||
<?php if ($editable): ?>
|
<?php if ($editable): ?>
|
||||||
<?= $this->render('task_comments/create', array(
|
<?= $this->render('task_comments/create', array(
|
||||||
'values' => array(),
|
'values' => array(
|
||||||
|
'user_id' => $this->user->getId(),
|
||||||
|
'task_id' => $task['id'],
|
||||||
|
'project_id' => $task['project_id'],
|
||||||
|
),
|
||||||
'errors' => array(),
|
'errors' => array(),
|
||||||
'task' => $task,
|
'task' => $task,
|
||||||
)) ?>
|
)) ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user