From ecd46f97bc04d95535cfe68e060ef9f714cea8fd Mon Sep 17 00:00:00 2001 From: Nathan Febuary <nathan@enhancesoft.com> Date: Wed, 26 Aug 2015 15:16:07 -0500 Subject: [PATCH] UI button highlight fix revision --- include/staff/templates/task-view.tmpl.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/staff/templates/task-view.tmpl.php b/include/staff/templates/task-view.tmpl.php index 5f46f07ab..47acc7a7c 100644 --- a/include/staff/templates/task-view.tmpl.php +++ b/include/staff/templates/task-view.tmpl.php @@ -130,8 +130,7 @@ if ($task->isOverdue()) class="action-dropdown anchor-right"> <ul> <?php foreach ($actions as $a => $action) { ?> - <li class="<?php - echo $action['class'] ?: 'task-action'; ?>"> + <li <?php if ($action['class']) echo sprintf("class='%s'", $action['class']); ?> > <a class="no-pjax task-action" <?php if ($action['dialog']) echo sprintf("data-dialog-config='%s'", $action['dialog']); -- GitLab