1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-16 02:26:25 +02:00

Admin-ui: Fix for delete confirmation popup alert.

This commit is contained in:
Cameron 2021-09-14 14:15:30 -07:00
parent 2682aeaa27
commit 632f33526f

View File

@ -3538,7 +3538,7 @@ var_dump($select_options);*/
case 'delete':
$icon = deftrue('e_ADMIN_AREA') ? ADMIN_DELETE_ICON : $tp->toIcon('fa-trash.glyph');
$options['class'] = $options['class'] === 'action' ? 'btn btn-default btn-secondary action delete' : $options['class'];
$options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"';
$options['data-confirm'] = LAN_JSCONFIRM;
break;
case 'execute':
@ -3768,10 +3768,7 @@ var_dump($select_options);*/
case 'delete':
case 'danger':
$options['other'] = 'data-confirm="'.$confirmation.'"';
$options['data-confirm'] = $confirmation;
break;
case 'batch':