fix a bug preventing item title updates in menus

This commit is contained in:
rolux 2012-08-30 22:25:32 +02:00
parent da319f0807
commit 62a67e7b1f

View file

@ -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;
}; };