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.
1 parent 5c83af9 commit 29f5ad0Copy full SHA for 29f5ad0
CHANGELOG.md
@@ -1,6 +1,6 @@
1
# 1.18.1 / Unreleased
2
3
-*
+* [BUGFIX] Fix deprecation warnings when menu with `title` callback is opened
4
5
# 1.18.0 / 2017-08-26
6
jquery.ui-contextmenu.js
@@ -368,7 +368,7 @@ $.widget("moogle.contextmenu", {
368
fn = $entry.data("titleHandler"),
369
res = fn ? fn({ type: "title" }, ui) : null;
370
if ( res != null ) {
371
- self.setEntry(ui.cmd, "" + res);
+ self.setTitle(ui.cmd, "" + res);
372
}
373
// Evaluate `tooltip()` callback
374
fn = $entry.data("tooltipHandler"),
0 commit comments