log viewer and sort reporting
This commit is contained in:
parent
2424e5009c
commit
f9fe35e0c3
|
@ -875,7 +875,7 @@ if (defined('METACONSOLE')) {
|
|||
],
|
||||
true
|
||||
);
|
||||
$form .= html_print_input_hidden('action', 'filter', true);
|
||||
$form .= html_print_input_hidden('action', 'sort_items', true);
|
||||
$form .= '</form>';
|
||||
|
||||
ui_toggle($form, __('Sort items'), '', '', false);
|
||||
|
|
|
@ -7073,20 +7073,6 @@ function ui_query_result_editor($name='default')
|
|||
true
|
||||
);
|
||||
|
||||
$editorSubContainer .= html_print_div(
|
||||
[
|
||||
'class' => 'action-buttons edit-button',
|
||||
'content' => html_print_submit_button(
|
||||
__('Execute query'),
|
||||
'execute_query',
|
||||
false,
|
||||
['icon' => 'next'],
|
||||
true
|
||||
),
|
||||
],
|
||||
true
|
||||
);
|
||||
|
||||
$editorContainer = html_print_div(
|
||||
[
|
||||
'id' => $name.'_editor_container',
|
||||
|
@ -7144,6 +7130,11 @@ function ui_query_result_editor($name='default')
|
|||
'content' => ui_get_full_url(false, false, false, false),
|
||||
]
|
||||
);
|
||||
|
||||
$buttons = html_print_submit_button(__('Execute query'), 'execute_query', false, ['icon' => 'update'], true);
|
||||
html_print_action_buttons(
|
||||
$buttons
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ view.renderer.setShowGutter(false);
|
|||
view.setReadOnly(true);
|
||||
view.setShowPrintMargin(false);
|
||||
|
||||
$("#submit-execute_query").click(function() {
|
||||
$("#button-execute_query").click(function() {
|
||||
view.setValue("");
|
||||
let text;
|
||||
let selectText = editor.getSelectedText();
|
||||
|
|
Loading…
Reference in New Issue