mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX #168 Remove leftover firstAction
This commit is contained in:
parent
b97971967f
commit
9e9cb46d74
@ -289,9 +289,7 @@ class BulkManager implements GridField_HTMLProvider, GridField_ColumnProvider, G
|
|||||||
'Button' => array(
|
'Button' => array(
|
||||||
'Label' => _t('GRIDFIELD_BULK_MANAGER.ACTION_BTN_LABEL', 'Go'),
|
'Label' => _t('GRIDFIELD_BULK_MANAGER.ACTION_BTN_LABEL', 'Go'),
|
||||||
'DataURL' => $gridField->Link('bulkAction'),
|
'DataURL' => $gridField->Link('bulkAction'),
|
||||||
'Icon' => $actionsConfig[$firstAction]['icon'],
|
'DataConfig' => json_encode($actionsConfig)
|
||||||
//'Classes' => $buttonClasses,
|
|
||||||
'DataConfig' => json_encode($actionsConfig),
|
|
||||||
),
|
),
|
||||||
'Select' => array(
|
'Select' => array(
|
||||||
'Label' => _t('GRIDFIELD_BULK_MANAGER.SELECT_ALL_LABEL', 'Select all'),
|
'Label' => _t('GRIDFIELD_BULK_MANAGER.SELECT_ALL_LABEL', 'Select all'),
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
data-config="$Button.DataConfig"
|
data-config="$Button.DataConfig"
|
||||||
title="<% _t('GRIDFIELD_BULK_MANAGER.COMPONENT_TITLE', 'Modify one or more entry at a time') %>"
|
title="<% _t('GRIDFIELD_BULK_MANAGER.COMPONENT_TITLE', 'Modify one or more entry at a time') %>"
|
||||||
class="doBulkActionButton disabled btn btn-outline-secondary">
|
class="doBulkActionButton disabled btn btn-outline-secondary">
|
||||||
<% if $Button.Icon %><img src="$Button.Icon" alt="" /><% end_if %>
|
|
||||||
$Button.Label
|
$Button.Label
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user