Simplify code to handle ajax popover and redirects
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
),
|
||||
'errors' => array(),
|
||||
'task' => $task,
|
||||
'ajax' => $ajax,
|
||||
)) ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
@@ -42,5 +42,4 @@
|
||||
'comments' => $comments,
|
||||
'project' => $project,
|
||||
'editable' => $this->user->hasProjectAccess('comment', 'edit', $project['id']),
|
||||
'ajax' => $ajax,
|
||||
)) ?>
|
||||
|
||||
Reference in New Issue
Block a user