You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, It seams to have a bug at the single menu update:
I've changed the line 1656 to: op.update(o.context);
And so, I've called the update like this: $.contextMenu('update', { context: [$.contextMenu.menus[".contextMenu2"]] });
The array "context" is required to pass some verification's.
Activity
Kvasha123 commentedon Jan 14, 2019
I would be okay with
$.contextMenu('update');but this opens the closed menus as well
bbrala commentedon Jan 16, 2019
The selector should be the same as the selector that was used to initialize the contextmenu. So the selector on which the menu is bound.
Kvasha123 commentedon Jan 17, 2019
So in my case, the selector would be '#ctxSelector a' ?
bbrala commentedon Jan 17, 2019
Yes it should be.
Kvasha123 commentedon Jan 21, 2019
It's not working. And I have no idea why. I have JSF in my Project, could that be the problem?
whilelfo commentedon Sep 10, 2020
Old topic but, try this:
$.contextMenu('update', { context: $ .contextMenu.menus[".contextMenu2"] }); // update single menu
if you're talking about updating only the 2nd created menu,
whilelfo commentedon Sep 11, 2020
Actually, It seams to have a bug at the single menu update:
$.contextMenu('update', { context: [$ .contextMenu.menus[".contextMenu2"]] });
I've changed the line 1656 to: op.update(o.context);
And so, I've called the update like this:
The array "context" is required to pass some verification's.