mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
credential store some js controls
This commit is contained in:
parent
a507d28c1f
commit
22d936d4f3
@ -386,6 +386,7 @@ echo '</div>';
|
|||||||
if (!failed) {
|
if (!failed) {
|
||||||
dt_<?php echo $table_id; ?>.draw(0);
|
dt_<?php echo $table_id; ?>.draw(0);
|
||||||
$(".ui-dialog-content").dialog("close");
|
$(".ui-dialog-content").dialog("close");
|
||||||
|
$('.ui-dialog-content').remove();
|
||||||
} else {
|
} else {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
@ -406,6 +407,7 @@ echo '</div>';
|
|||||||
text: '<?php echo __('Cancel'); ?>',
|
text: '<?php echo __('Cancel'); ?>',
|
||||||
click: function(e) {
|
click: function(e) {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
|
$(this).remove();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -462,6 +464,7 @@ echo '</div>';
|
|||||||
text: '<?php echo __('Cancel'); ?>',
|
text: '<?php echo __('Cancel'); ?>',
|
||||||
click: function(e) {
|
click: function(e) {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
|
$(this).remove();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -552,6 +555,7 @@ echo '</div>';
|
|||||||
text: "<?php echo __('Cancel'); ?>",
|
text: "<?php echo __('Cancel'); ?>",
|
||||||
click: function(e) {
|
click: function(e) {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
|
$(this).remove();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -277,7 +277,7 @@ function print_inputs($values=null)
|
|||||||
'id' => 'id_group',
|
'id' => 'id_group',
|
||||||
'input_class' => 'flex-row',
|
'input_class' => 'flex-row',
|
||||||
'type' => 'select_groups',
|
'type' => 'select_groups',
|
||||||
'selected' => $values['id_grupo'],
|
'selected' => $values['id_group'],
|
||||||
'return' => true,
|
'return' => true,
|
||||||
'class' => 'w50p',
|
'class' => 'w50p',
|
||||||
]
|
]
|
||||||
@ -288,6 +288,7 @@ function print_inputs($values=null)
|
|||||||
'name' => 'product',
|
'name' => 'product',
|
||||||
'input_class' => 'flex-row',
|
'input_class' => 'flex-row',
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
|
'script' => 'calculate_inputs()',
|
||||||
'fields' => [
|
'fields' => [
|
||||||
'CUSTOM' => __('Custom'),
|
'CUSTOM' => __('Custom'),
|
||||||
'AWS' => __('Aws'),
|
'AWS' => __('Aws'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user