Ent 7155 bug edicion tickets integria

This commit is contained in:
Luis 2021-05-10 09:17:14 +00:00 committed by Daniel Rodriguez
parent 321fc8aa05
commit a94c70551d
2 changed files with 42 additions and 32 deletions

View File

@ -4991,6 +4991,9 @@ function html_print_input_multicheck(array $data):string
* @param string $default The default value to show in the ajax control.
* @param boolean $return If it is true return a string with the output instead to echo the output.
* @param string $size Size.
* @param boolean $disable Disable the button (optional, button enabled by default).
* @param boolean $required Attribute required.
* @param string $class Text inpunt class.
*
* @return mixed If the $return is true, return the output as string.
*/
@ -5000,7 +5003,8 @@ function html_print_autocomplete_users_from_integria(
$return=false,
$size='30',
$disable=false,
$required=false
$required=false,
$class=null
) {
global $config;
@ -5012,6 +5016,10 @@ function html_print_autocomplete_users_from_integria(
$attrs['required'] = 'required';
}
if (empty($class) === false) {
$attrs['class'] = $class;
}
html_print_input_text_extended(
$name,
$default,

View File

@ -163,7 +163,6 @@ $table->colspan[3][0] = 3;
$help_macros = isset($_GET['from_event']) ? ui_print_help_icon('response_macros', true) : '';
if (isset($_GET['from_event'])) {
if ($update) {
$input_value_title = $incident_details[3];
$input_value_type = $incident_details[17];
@ -189,7 +188,6 @@ if (isset($_GET['from_event'])) {
$input_value_owner = '';
$input_value_content = '';
}
}
$table->data[0][0] = '<div class="label_select"><p class="input_label">'.__('Title').':&nbsp'.$help_macros.'</p>';
$table->data[0][0] .= '<div class="label_select_parent">'.html_print_input_text(
@ -290,7 +288,11 @@ $table->data[2][2] = '<div class="label_select"><p class="input_label">'.__('Own
$table->data[2][2] .= '<div class="label_select_parent">'.html_print_autocomplete_users_from_integria(
'owner',
$input_value_owner,
true
true,
'30',
false,
false,
'w100p'
).'</div>';
$table->data[3][0] = '<div class="label_select"><p class="input_label">'.__('Description').':&nbsp'.$help_macros.'</p>';