#11327 change input for textarea in edit plugin

This commit is contained in:
Daniel Cebrian 2023-05-31 14:02:13 +02:00
parent e3e28aebc1
commit 3df928fab8
1 changed files with 6 additions and 7 deletions

View File

@ -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) {