This commit is contained in:
Dasc3er 2020-09-07 09:55:24 +02:00
parent b285103166
commit 1377bb61cd
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class HTMLWrapper implements WrapperInterface
if (in_array($module->permission, ['r', 'rw'])) {
$result = '
<button '.$btn_extras.' data-href="'.ROOTDIR.'/add.php?id_module='.$module->id.$get.'&select='.$values['id'].'&ajax=yes" data-toggle="modal" data-title="'.tr('Aggiungi').'" type="button" class="btn'.$classes.'">
<button type="button" class="btn'.$classes.'" '.$btn_extras.' onclick="openModal(\''.tr('Aggiungi').'\', \''.ROOTDIR.'/add.php?id_module='.$module->id.$get.'&select='.$values['id'].'&ajax=yes\')">
<i class="fa fa-plus"></i>
</button>';
}