Closed vkbansal closed 9 years ago
Events are bound to the menu and not in the context itself. So in you're example it should be
$( '#filetree-contextmenu' ).on( 'hide.bs.context', ->
Yes figured it out later on. Thanks for your answer.
-----Original Message----- From: "James Santos" notifications@github.com Sent: 25-11-2014 09:01 To: "sydcanem/bootstrap-contextmenu" bootstrap-contextmenu@noreply.github.com Cc: "Vivek Kumar Bansal" vkb0310@gmail.com Subject: Re: [bootstrap-contextmenu] hide events not triggered after onItem(#70)
Events are bound to the menu and not in the context itself. So in you're example it should be $( '#filetree-contextmenu' ).on( 'hide.bs.context', ->— Reply to this email directly or view it on GitHub.=
When I click on an item,
onItem()
is called and the menu is hidden. Buthide.bs.context
andhidden.bs.context
are not triggred.