Compare commits

...

3 Commits

Author SHA1 Message Date
Thomas Portelange
fea3235bf2
Merge 1cf36022b1 into e639dd4d83 2024-09-30 07:06:20 +00:00
Thomas Portelange
1cf36022b1
update icons 2024-09-30 09:06:17 +02:00
Thomas Portelange
d2ae01ef24
update syntax 2024-09-30 08:53:57 +02:00

View File

@ -107,7 +107,7 @@ class EditHandler extends Handler
*/
public function Link($action = null)
{
return Controller::join_links(parent::Link(), static::config()->url_segment, $action);
return Controller::join_links(parent::Link(), static::config()->get('url_segment'), $action);
}
/**
@ -128,19 +128,17 @@ class EditHandler extends Handler
$actions->push(
FormAction::create('doSave', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.SAVE_BTN_LABEL', 'Save all'))
->setAttribute('id', 'bulkEditingSaveBtn')
->addExtraClass('btn btn-success')
// ->setAttribute('data-icon', 'accept')
->addExtraClass('btn btn-success font-icon font-icon-save')
->setUseButtonTag(true)
);
$actions->push(
FormAction::create('Cancel', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.CANCEL_BTN_LABEL', 'Cancel'))
->setAttribute('id', 'bulkEditingUpdateCancelBtn')
->addExtraClass('btn btn-danger cms-panel-link')
// ->setAttribute('data-icon', 'decline')
->addExtraClass('btn btn-danger cms-panel-link font-icon font-icon-cancel')
->setAttribute('href', $one_level_up->Link)
->setUseButtonTag(true)
->setAttribute('src', '')//changes type to image so isn't hooked by default actions handlers
->setAttribute('src', '') //changes type to image so isn't hooked by default actions handlers
);
$recordList = $this->getRecordIDList();