|
I’m trying to use this menu as a context menu for a file tree, so it needs to know the current file so that it can work out what options to show and also be aware of current state for copy operations. I tried to use the additionalData but it looks like that only evaluates when you build the page. How do I make it work for dynamic data/Context from the web page. |
|
there’s a global variable setted to the $.menu object that returns the last contextualmenu element you clicked on:
Try this function applied onContextualMenu callback:
|


