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:
commit
77fc14fb5a
|
@ -134,7 +134,7 @@ class WebServerModuleDebug extends Wizard
|
|||
public function showWebServerDebug()
|
||||
{
|
||||
// Show QueryResult editor.
|
||||
ui_query_result_editor('webserverdebug');
|
||||
ui_query_result_editor('webserverdebug', false);
|
||||
// Spinner for wait loads.
|
||||
html_print_div(
|
||||
[
|
||||
|
|
|
@ -7330,7 +7330,7 @@ function ui_print_message_dialog($title, $text, $id='', $img='', $text_button=''
|
|||
*
|
||||
* @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(
|
||||
[
|
||||
|
@ -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);
|
||||
html_print_action_buttons($execute_button);
|
||||
$execute_button = html_print_submit_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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue