* Change no batch edit access style.
This commit is contained in:
@@ -180,12 +180,13 @@ if($canBatchAction)
|
||||
);
|
||||
}
|
||||
|
||||
if($canBatchClose || $canBatchCancel)
|
||||
if($canBatchClose || $canBatchCancel || $canBatchEdit)
|
||||
{
|
||||
$editClass = $canBatchEdit ? 'batch-btn' : 'disabled';
|
||||
$footToolbar['items'][] = array(
|
||||
'type' => 'btn-group',
|
||||
'items' => array(
|
||||
array('text' => $lang->edit, 'className' => 'batch-btn','btnType' => 'primary', 'data-url' => createLink('task', 'batchEdit', "executionID={$executionID}")),
|
||||
array('text' => $lang->edit, 'class' => "btn primary size-sm {$editClass}", 'btnType' => 'primary', 'data-url' => createLink('task', 'batchEdit', "executionID={$executionID}")),
|
||||
array('caret' => 'up', 'btnType' => 'primary', 'url' => '#navActions', 'data-toggle' => 'dropdown', 'data-placement' => 'top-start'),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user