When new menu Id is not found or index > nitems, insert the new menu
at end of current menu.

1 file changed