Menu Changes. Documents at top level, Extended features now Plugins

This commit is contained in:
Hugo Loza
2011-01-06 20:57:08 +00:00
parent 63663d6b85
commit e90f88ff21
3 changed files with 25 additions and 6 deletions

View File

@@ -642,7 +642,7 @@ Ext.extend(Ext.data.DynamicJsonReader, Ext.data.JsonReader, {
Ext.app.menuLoader = Ext.extend(Ext.ux.tree.XmlTreeLoader, {
processAttributes : function(attr){
//console.log(attr);
if(attr.blockNestedTree){
//console.log(attr);
attr.text = attr.blockTitle;
@@ -670,7 +670,18 @@ Ext.app.menuLoader = Ext.extend(Ext.ux.tree.XmlTreeLoader, {
};
}else if(attr.blockTitle){
}else if(attr.blockHeaderNoChild){
//console.info(attr);
attr.text = attr.blockTitle;
attr.iconCls = 'ICON_' + attr.id;
attr.loaded = true;
attr.expanded = false;
//attr.disabled=true;
attr.expandable=true;
attr.qtip=attr.blockTitle;
}else if(attr.blockTitle){
attr.text = attr.blockTitle;
attr.iconCls = 'ICON_' + attr.id;
attr.loaded = true;