From bb040cfb78d53696edd63bf256d0fd8ba3ccdbfa Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 30 Jan 2016 22:25:16 -0500 Subject: Simplify code to handle ajax popover and redirects --- app/Template/task/comments.php | 1 - app/Template/task/show.php | 1 - 2 files changed, 2 deletions(-) (limited to 'app/Template/task') diff --git a/app/Template/task/comments.php b/app/Template/task/comments.php index ef85287b..c22e39ec 100644 --- a/app/Template/task/comments.php +++ b/app/Template/task/comments.php @@ -29,7 +29,6 @@ ), 'errors' => array(), 'task' => $task, - 'ajax' => $ajax, )) ?> diff --git a/app/Template/task/show.php b/app/Template/task/show.php index b848d49e..5fd73afb 100644 --- a/app/Template/task/show.php +++ b/app/Template/task/show.php @@ -42,5 +42,4 @@ 'comments' => $comments, 'project' => $project, 'editable' => $this->user->hasProjectAccess('comment', 'edit', $project['id']), - 'ajax' => $ajax, )) ?> -- cgit v1.2.3