-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I adds the menu Items like this:
`
submenuItem = forms.menuLateral.elements.navbar.createMenuItem(i18n.getI18NMessage('set.Modificar')+' ' +i18n.getI18NMessage('set.familia'), 'forms.articulo_ng_base.modificar_articulo');
submenuItem.userData = {arg:[3]};
submenuItems.push(submenuItem);
submenuItem = forms.menuLateral.elements.navbar.createMenuItem(i18n.getI18NMessage('set.Modificar')+' ' +i18n.getI18NMessage('set.marca'), 'forms.articulo_ng_base.modificar_articulo');
submenuItem.userData = {arg:[4]};
submenuItems.push(submenuItem);
`
The process is the same but with different arguments.
But when click on the second dropdown item menu, always return the arguments of the first itemMenu[3]. If I change the name of the process, the arguments returned is correct [4].