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:
Mellisa Hankins 2013-07-11 18:17:08 +10:00
parent a19334c5d7
commit 3e49c1ff9f
2 changed files with 3 additions and 3 deletions

View File

@ -178,7 +178,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
function getColumnContent($gridField, $record, $columnName)
{
$cb = CheckboxField::create('bulkSelect_'.$record->ID)
->addExtraClass('bulkSelect');
->addExtraClass('bulkSelect no-change-track');
return $cb->Field();
}
@ -208,7 +208,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
$dropDownActionList = DropdownField::create('bulkActionName', '')
->setSource($this->config['actions'])
->setAttribute('class', 'bulkActionName')
->setAttribute('class', 'bulkActionName no-change-track')
->setAttribute('id', '');
$templateData = new ArrayData(array(

View File

@ -9,6 +9,6 @@
</th>
<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>
</tr>