-
Navigationmenu working with subformdialog
I have a navigationmenuobject created in a js remote form.
I have this method in the $event executing in the client:
On evMenuEntryClicked
If pLineIdent>0
Do $cinst.$objs.subForm.$classname.$assign($classes.[pLineIdent].$name)
End If
When this $event method is executed in the client, the menu closes or hides automatically.
But the method below in another navigationmenuobject does not work okay:
On evMenuEntryClicked
Do $cinst.$clientcommand(“subformdialogshow”,row(‘jsEFposnTopToolBarNavMenuDialog’,pLineIdent,’Select menu item’,$cwind.$width*0.25,$cwind.$height*0.5))
When this $event method is executed in the client, the subformdialogshow js remote form opens BUT the menu does not close or hide automatically.
How can I close the navigationmenu when a $clientcommand is run?
Log in to reply.