Fix pulsante disabilita widget
This commit is contained in:
parent
1594dcf7b9
commit
aa8cbb698f
|
@ -143,7 +143,7 @@ class WidgetManager implements ManagerInterface
|
||||||
protected function render($widget, $title, $number = null)
|
protected function render($widget, $title, $number = null)
|
||||||
{
|
{
|
||||||
$result = '
|
$result = '
|
||||||
<button type="button" class="close" onclick="if(confirm(\'Disabilitare questo widget?\')) { $.post( \''.base_path().'/actions.php?id_module='.self::getModule()->id.'\', { op: \'disable_widget\', id: \''.$widget['id'].'\' }, function(response){ location.reload(); }); };" >
|
<button type="button" class="close" onclick="if(confirm(\'Disabilitare questo widget?\')) { $.post( \''.base_path().'/actions.php?id_module='.self::getModule()->id.'\', { op: \'disabilita-widget\', id: \''.$widget['id'].'\' }, function(response){ location.reload(); }); };" >
|
||||||
<span aria-hidden="true">×</span><span class="sr-only">'.tr('Chiudi').'</span>
|
<span aria-hidden="true">×</span><span class="sr-only">'.tr('Chiudi').'</span>
|
||||||
</button>';
|
</button>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue