From 0f2b46dd6a9a1dc17768de2c415f382df95142e8 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 4 Feb 2016 21:38:53 -0500 Subject: Do not refresh the whole page when changing subtask status (work in progress) --- app/Template/task/show.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/Template/task') diff --git a/app/Template/task/show.php b/app/Template/task/show.php index 246c8f33..e18b47fc 100644 --- a/app/Template/task/show.php +++ b/app/Template/task/show.php @@ -18,15 +18,14 @@ 'subtasks' => $subtasks, 'project' => $project, 'users_list' => isset($users_list) ? $users_list : array(), - 'editable' => $this->user->hasProjectAccess('subtask', 'edit', $project['id']), - 'redirect' => 'task', + 'editable' => true, )) ?> render('tasklink/show', array( 'task' => $task, 'links' => $links, 'link_label_list' => $link_label_list, - 'editable' => $this->user->hasProjectAccess('tasklink', 'edit', $project['id']), + 'editable' => true, 'is_public' => false, )) ?> -- cgit v1.2.3