This commit is contained in:
Daniel Maya 2023-02-20 17:08:36 +01:00
parent c6e32e278b
commit a615d2d98f
3 changed files with 7 additions and 2 deletions

View File

@ -444,7 +444,7 @@ echo '</div>';
*/
function menu_calculate_top(index, item_height) {
const result = index * item_height;
return 136 + result;
return 133 + result;
}
});
</script>

View File

@ -104,6 +104,11 @@ function menu_print_menu(&$menu)
if (empty($id) === false) {
$sec2 = 'operation/visual_console/render_view&id='.$id;
}
} else if ($sec2 === 'operation/messages/message_edit') {
$new_msg = (int) get_parameter('new_msg', 0);
if (empty($new_msg) === false) {
$sec2 = 'operation/messages/message_edit&new_msg='.$new_msg;
}
} else {
$sec2 = (string) get_parameter('sec2');
}

View File

@ -656,7 +656,7 @@ if ($access_console_node === true) {
$sub['message_list']['subtype'] = 'nolink';
$sub2 = [];
$sub2['operation/messages/message_list']['text'] = __('Messages List');
$sub2['operation/messages/message_edit&amp;new_msg=1']['text'] = __('New message');
$sub2['operation/messages/message_edit&new_msg=1']['text'] = __('New message');
$sub['message_list']['sub2'] = $sub2;
}