gets the master area for contextmenu
object | context object |
$$("contextmenu1").attachTo($$("list1")); //menu is initialized for list
var context = this.getContext(); //gets master area (where list item is)
var list = context.obj; //gets list item object
var listId = context.id; //gets the id of the right-clicked list item