* [task#129575,doing,0.5h] Code for task #129575.

This commit is contained in:
hufangzhou
2024-10-11 14:35:08 +08:00
committed by 王于听
parent d19b958662
commit 9788d40d1a
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -155,10 +155,11 @@ if($canBatchAction)
{
if($canBatchClose || $canBatchCancel)
{
$batchCancelClass = $config->edition == 'open' ? 'ajax-btn' : 'ajax-cancel-btn';
$batchItems = array
(
array('text' => $lang->close, 'innerClass' => 'batch-btn ajax-btn not-open-url', 'disabled' => !$canBatchClose, 'data-url' => createLink('task', 'batchClose')),
array('text' => $lang->task->cancel, 'innerClass' => 'batch-btn ajax-btn not-open-url', 'disabled' => !$canBatchCancel, 'data-url' => createLink('task', 'batchCancel'))
array('text' => $lang->task->cancel, 'innerClass' => "batch-btn $batchCancelClass not-open-url", 'disabled' => !$canBatchCancel, 'data-url' => createLink('task', 'batchCancel'))
);
}