credential store some js controls

This commit is contained in:
fbsanchez 2019-06-25 16:43:38 +02:00
parent a507d28c1f
commit 22d936d4f3
2 changed files with 6 additions and 1 deletions

View File

@ -386,6 +386,7 @@ echo '</div>';
if (!failed) {
dt_<?php echo $table_id; ?>.draw(0);
$(".ui-dialog-content").dialog("close");
$('.ui-dialog-content').remove();
} else {
$(this).dialog('close');
}
@ -406,6 +407,7 @@ echo '</div>';
text: '<?php echo __('Cancel'); ?>',
click: function(e) {
$(this).dialog('close');
$(this).remove();
}
},
{
@ -462,6 +464,7 @@ echo '</div>';
text: '<?php echo __('Cancel'); ?>',
click: function(e) {
$(this).dialog('close');
$(this).remove();
}
},
{
@ -552,6 +555,7 @@ echo '</div>';
text: "<?php echo __('Cancel'); ?>",
click: function(e) {
$(this).dialog('close');
$(this).remove();
}
},
{

View File

@ -277,7 +277,7 @@ function print_inputs($values=null)
'id' => 'id_group',
'input_class' => 'flex-row',
'type' => 'select_groups',
'selected' => $values['id_grupo'],
'selected' => $values['id_group'],
'return' => true,
'class' => 'w50p',
]
@ -288,6 +288,7 @@ function print_inputs($values=null)
'name' => 'product',
'input_class' => 'flex-row',
'type' => 'select',
'script' => 'calculate_inputs()',
'fields' => [
'CUSTOM' => __('Custom'),
'AWS' => __('Aws'),