Lines Matching refs:ctx
53 treeInit: function (ctx) { argument
54 var opts = ctx.options,
55 tree = ctx.tree;
74 ctx = { variable
80 tree.ext.menu._openMenu(ctx);
108 tree.ext.menu._closeMenu(ctx);
114 treeDestroy: function (ctx) { argument
117 _openMenu: function (ctx) { argument
119 tree = ctx.tree,
120 opts = ctx.options,
123 tree.ext.menu.data.node = ctx.node;
127 opts.menu.beforeOpen.call(tree, ctx.originalEvent, data) ===
136 tree.ext.menu._closeMenu(ctx);
142 tree.ext.menu._closeMenu(ctx);
152 of: ctx.originalEvent,
157 opts.menu.open.call(tree, ctx.originalEvent, data);
159 _closeMenu: function (ctx) { argument
161 tree = ctx.tree,
162 opts = ctx.options,
164 if (opts.menu.close.call(tree, ctx.originalEvent, data) === false) {