We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setEntry({...})
1 parent 761ceee commit 465bdf5Copy full SHA for 465bdf5
CHANGELOG.md
@@ -1,5 +1,6 @@
1
# 1.13.1-0 / Unreleased
2
* [BUGFIX] #109 Fix `setEntry(title)` for titles containing icons
3
+ * [BUGFIX] #110 Fix `setEntry({...})` for jQuery UI 1.12
4
5
# 1.13.0 / 2016-08-21
6
jquery.ui-contextmenu.js
@@ -372,6 +372,8 @@ $.widget("moogle.contextmenu", {
372
$ul = $("<ul/>").appendTo($entryLi);
373
$.moogle.contextmenu.createMenuMarkup(entry.children, $ul);
374
}
375
+ // #110: jQuery UI 1.12: refresh only works when this class is not set:
376
+ $entryLi.removeClass("ui-menu-item");
377
this.getMenu().menu("refresh");
378
379
},
0 commit comments