Add preview of icon group in create agent. Tiquet: #3008
This commit is contained in:
parent
aeb0fc3de9
commit
baf8712d3e
|
@ -242,6 +242,9 @@ $table->data[2][1] .= html_print_checkbox ("cascade_protection", 1, $cascade_pro
|
|||
|
||||
$table->data[3][0] = __('Group');
|
||||
$table->data[3][1] = html_print_select_groups(false, "AR", false, 'grupo', $grupo, '', '', 0, true);
|
||||
$table->data[3][1] .= ' <span id="group_preview">';
|
||||
$table->data[3][1] .= ui_print_group_icon ($grupo, true);
|
||||
$table->data[3][1] .= '</span>';
|
||||
|
||||
$table->data[4][0] = __('Interval');
|
||||
|
||||
|
@ -547,5 +550,8 @@ ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
|
|||
theme_advanced_buttons1 : "undo, redo, | , link, unlink"
|
||||
});
|
||||
});
|
||||
$(document).ready (function () {
|
||||
$('#grupo').pandoraSelectGroupIcon ();
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue