mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Create module message error correction
This commit is contained in:
parent
f83acb99f0
commit
dfbdfbaf60
@ -1907,7 +1907,6 @@ if ($create_module) {
|
||||
);
|
||||
}
|
||||
|
||||
if ($update_module || $create_module) {
|
||||
if (is_error($id_agent_module) === true) {
|
||||
switch ($id_agent_module) {
|
||||
case ERR_EXIST:
|
||||
@ -1965,7 +1964,6 @@ if ($create_module) {
|
||||
io_json_mb_encode($values)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// MODULE ENABLE/DISABLE
|
||||
|
@ -1117,7 +1117,7 @@ $modalCreateModule .= html_print_div(
|
||||
'class' => 'action-buttons-right-forced',
|
||||
'content' => html_print_submit_button(
|
||||
__('Create'),
|
||||
'create_module',
|
||||
'modal_button_create',
|
||||
false,
|
||||
[
|
||||
'icon' => 'next',
|
||||
@ -1142,7 +1142,6 @@ html_print_div(
|
||||
<script type="text/javascript">
|
||||
|
||||
function create_module_dialog(){
|
||||
console.log('Entra');
|
||||
$('#modal').dialog({
|
||||
title: '<?php echo __('Create Module'); ?>',
|
||||
resizable: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user