BUG 0000 Fix for cases tree menu, when html string are passed on menu option title

This commit is contained in:
Erik Amaru Ortiz
2013-08-19 16:54:17 -04:00
parent 95fab57098
commit 7e15936118

View File

@@ -720,7 +720,8 @@ Ext.app.menuLoader = Ext.extend(Ext.ux.tree.XmlTreeLoader, {
attr.expanded = true;
//}
}else if(attr.title){
attr.text = attr.title;
attr.text = Ext.util.Format.htmlDecode(attr.title);
if( attr.cases_count )
attr.text += ' (<label id="NOTIFIER_'+attr.id+'">' + attr.cases_count + '</label>)';