Remove/disable "ignore duplicate and save" button

Hi forum, 

I'm being asked to remove the remove or disable the "ignore duplicate and save" button when a new account is created with the same data as some other. I have tried modifying the create.php in custom/clients/base/views/create/, removing the action for the event:

'type' => 'actiondropdown',
'name' => 'duplicate_dropdown',
'primary' => true,
'showOn' => 'duplicate',
'buttons' => array(
array(
'type' => 'rowaction',
'name' => 'save_button',
'label' => 'LBL_IGNORE_DUPLICATE_AND_SAVE',
'events' => array(
'click' => '',
),
),
),

but no success. Anybody knows the proper approach for this customization?

regards!

Parents Reply Children
No Data