Merge branch 'ent-13159-la-depuracion-de-codigo-de-chequeos-web-tiene-el-boton-fuera-de-la-ventana-modal' into 'develop'

Ent 13159 la depuracion de codigo de chequeos web tiene el boton fuera de la ventana modal

See merge request artica/pandorafms!7077
This commit is contained in:
Daniel Rodriguez 2024-03-27 10:27:06 +00:00
commit 77fc14fb5a
2 changed files with 17 additions and 4 deletions

View File

@ -134,7 +134,7 @@ class WebServerModuleDebug extends Wizard
public function showWebServerDebug() public function showWebServerDebug()
{ {
// Show QueryResult editor. // Show QueryResult editor.
ui_query_result_editor('webserverdebug'); ui_query_result_editor('webserverdebug', false);
// Spinner for wait loads. // Spinner for wait loads.
html_print_div( html_print_div(
[ [

View File

@ -7330,7 +7330,7 @@ function ui_print_message_dialog($title, $text, $id='', $img='', $text_button=''
* *
* @return null * @return null
*/ */
function ui_query_result_editor($name='default') function ui_query_result_editor($name='default', $button_in_action_buttons=true)
{ {
$editorSubContainer = html_print_div( $editorSubContainer = html_print_div(
[ [
@ -7406,9 +7406,22 @@ function ui_query_result_editor($name='default')
] ]
); );
$execute_button = html_print_submit_button(__('Execute query'), 'execute_query', false, ['icon' => 'update'], true); $execute_button = html_print_submit_button(
html_print_action_buttons($execute_button); __('Execute query'),
'execute_query',
false,
[
'icon' => 'update',
'class' => 'float-right',
],
true
);
if ($button_in_action_buttons === true) {
html_print_action_buttons($execute_button);
} else {
echo $execute_button;
}
} }