mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 17:01:43 +02:00
Admin-ui: Fix for delete confirmation popup alert.
This commit is contained in:
@@ -3538,7 +3538,7 @@ var_dump($select_options);*/
|
|||||||
case 'delete':
|
case 'delete':
|
||||||
$icon = deftrue('e_ADMIN_AREA') ? ADMIN_DELETE_ICON : $tp->toIcon('fa-trash.glyph');
|
$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['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;
|
break;
|
||||||
|
|
||||||
case 'execute':
|
case 'execute':
|
||||||
@@ -3768,10 +3768,7 @@ var_dump($select_options);*/
|
|||||||
|
|
||||||
case 'delete':
|
case 'delete':
|
||||||
case 'danger':
|
case 'danger':
|
||||||
|
$options['data-confirm'] = $confirmation;
|
||||||
|
|
||||||
|
|
||||||
$options['other'] = 'data-confirm="'.$confirmation.'"';
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'batch':
|
case 'batch':
|
||||||
|
Reference in New Issue
Block a user