From 3df928fab843ec5a7f36c01a7de4ef2aa3ec0900 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Wed, 31 May 2023 14:02:13 +0200 Subject: [PATCH] #11327 change input for textarea in edit plugin --- pandora_console/godmode/servers/plugin.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index 75db97e1e7..276dea4b51 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -487,17 +487,16 @@ if (empty($create) === false || empty($view) === false) { $data = []; $data[0] = html_print_label_input_block( __('Plug-in parameters'), - html_print_input_text( + html_print_textarea( 'form_parameters', + 4, + 50, $parameters, '', - 100, - 255, true, + 'command_component command_advanced_conf text_input', false, - false, - '', - 'command_component command_advanced_conf text_input' + false ) ); @@ -1119,7 +1118,7 @@ ui_require_javascript_file('pandora_modules'); function update_preview() { var command = $('#text-form_execute').val(); - var parameters = $('#text-form_parameters').val(); + var parameters = $('#textarea_form_parameters').val(); var i = 1; while (1) {