fix a bug preventing item title updates in menus
This commit is contained in:
parent
da319f0807
commit
62a67e7b1f
1 changed files with 1 additions and 1 deletions
|
@ -777,7 +777,7 @@ Ox.Menu = function(options, self) {
|
||||||
(id, title) -> <o> set item title
|
(id, title) -> <o> set item title
|
||||||
@*/
|
@*/
|
||||||
that.setItemTitle = function(id, title) {
|
that.setItemTitle = function(id, title) {
|
||||||
var item = getItem(id);
|
var item = that.getItem(id);
|
||||||
item && item.options({title: title});
|
item && item.options({title: title});
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue