From 62a67e7b1fd107e8ffc5c66160226fa30e10708d Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 30 Aug 2012 22:25:32 +0200 Subject: [PATCH] fix a bug preventing item title updates in menus --- source/Ox.UI/js/Menu/Menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Menu/Menu.js b/source/Ox.UI/js/Menu/Menu.js index ae66bfd6..fb596dab 100644 --- a/source/Ox.UI/js/Menu/Menu.js +++ b/source/Ox.UI/js/Menu/Menu.js @@ -777,7 +777,7 @@ Ox.Menu = function(options, self) { (id, title) -> set item title @*/ that.setItemTitle = function(id, title) { - var item = getItem(id); + var item = that.getItem(id); item && item.options({title: title}); return that; };