Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
Fix setEntry({...}) for jQuery UI 1.12
Browse files Browse the repository at this point in the history
Close #110
  • Loading branch information
mar10 committed Jan 27, 2017
1 parent 761ceee commit 465bdf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 1.13.1-0 / Unreleased
* [BUGFIX] #109 Fix `setEntry(title)` for titles containing icons
* [BUGFIX] #110 Fix `setEntry({...})` for jQuery UI 1.12

# 1.13.0 / 2016-08-21

Expand Down
2 changes: 2 additions & 0 deletions jquery.ui-contextmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ $.widget("moogle.contextmenu", {
$ul = $("<ul/>").appendTo($entryLi);
$.moogle.contextmenu.createMenuMarkup(entry.children, $ul);
}
// #110: jQuery UI 1.12: refresh only works when this class is not set:
$entryLi.removeClass("ui-menu-item");
this.getMenu().menu("refresh");
}
},
Expand Down

0 comments on commit 465bdf5

Please sign in to comment.