Index: trunk/admin/include/fw_menu.js =================================================================== diff -u -r13 -r1566 --- trunk/admin/include/fw_menu.js (.../fw_menu.js) (revision 13) +++ trunk/admin/include/fw_menu.js (.../fw_menu.js) (revision 1566) @@ -50,15 +50,22 @@ this.onMenuItemAction = onMenuItemAction; this.hideMenu = hideMenu; this.hideChildMenu = hideChildMenu; - + + label = RemoveTranslationLink(label); if (!window.menus) window.menus = new Array(); this.label = label || "menuLabel" + window.menus.length; window.menus[this.label] = this; window.menus[window.menus.length] = this; if (!window.activeMenus) window.activeMenus = new Array(); } +function RemoveTranslationLink($string) +{ + return $string.match(/(.*)<\/a>/) ? RegExp.$2 : $string; +} + function addMenuItem(label, action, type) { + if( typeof(label) == 'string' ) label = RemoveTranslationLink(label); this.items[this.items.length] = label; this.actions[this.actions.length] = action; if (type == 1) this.types[this.types.length] = this.imagePath+"check_on.gif";