mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 09:05:57 +00:00
FIX: Bulk Action fields no longer change the form state, hence no alerts on page change
@Todo add confirmation on delete and unlink actions
This commit is contained in:
parent
a19334c5d7
commit
3e49c1ff9f
@ -178,7 +178,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
|
|||||||
function getColumnContent($gridField, $record, $columnName)
|
function getColumnContent($gridField, $record, $columnName)
|
||||||
{
|
{
|
||||||
$cb = CheckboxField::create('bulkSelect_'.$record->ID)
|
$cb = CheckboxField::create('bulkSelect_'.$record->ID)
|
||||||
->addExtraClass('bulkSelect');
|
->addExtraClass('bulkSelect no-change-track');
|
||||||
return $cb->Field();
|
return $cb->Field();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -208,7 +208,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
|
|||||||
|
|
||||||
$dropDownActionList = DropdownField::create('bulkActionName', '')
|
$dropDownActionList = DropdownField::create('bulkActionName', '')
|
||||||
->setSource($this->config['actions'])
|
->setSource($this->config['actions'])
|
||||||
->setAttribute('class', 'bulkActionName')
|
->setAttribute('class', 'bulkActionName no-change-track')
|
||||||
->setAttribute('id', '');
|
->setAttribute('id', '');
|
||||||
|
|
||||||
$templateData = new ArrayData(array(
|
$templateData = new ArrayData(array(
|
||||||
|
@ -9,6 +9,6 @@
|
|||||||
|
|
||||||
</th>
|
</th>
|
||||||
<th class="extra bulkmanagerselect">
|
<th class="extra bulkmanagerselect">
|
||||||
<input class="toggleSelectAll" type="checkbox" title="$Select.Label" name="toggleSelectAll" />
|
<input class="toggleSelectAll no-change-track" type="checkbox" title="$Select.Label" name="toggleSelectAll" />
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
Loading…
x
Reference in New Issue
Block a user