#9662 minor fixed
This commit is contained in:
parent
c6e32e278b
commit
a615d2d98f
|
@ -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>
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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&new_msg=1']['text'] = __('New message');
|
||||
$sub2['operation/messages/message_edit&new_msg=1']['text'] = __('New message');
|
||||
|
||||
$sub['message_list']['sub2'] = $sub2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue