mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
N°5074 - Linkset datatable actions row improvements
Linkset updates, feedbacks 09/12: - Distinguish action label and tool tip message - Change default action button label Ok => Confirm - Use action label in place of default confirm button label - Attach do not show again preference key to table instance - Obsolescence flag for link selection (select all) issue correction
This commit is contained in:
@@ -213,7 +213,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
|
||||
array_key_exists('tooltip', $aAction) ? Dict::S($aAction['tooltip']) : '',
|
||||
array_key_exists('name', $aAction) ? $aAction['name'] : 'undefined'
|
||||
);
|
||||
$oButton->SetDataAttributes(['action-id' => $iKey, 'table-id' => $oTable->GetId()]);
|
||||
$oButton->SetDataAttributes(['label' => Dict::S($aAction['label']), 'action-id' => $iKey, 'table-id' => $oTable->GetId()]);
|
||||
$oToolbar->AddSubBlock($oButton);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user