PM-1668 "Designer > No se habilita en Logs-> el auditLog..." SOLVED

> Code Issue:
  No se habilita en Logs-> el auditLog cuando este se habilita
> Solution:
  Cuando se habilita el Audit Log en SETTINGS>AUDIT LOG y se cambia al tab Logs se mostrara en la lista el Audit Log
  habilitado.
This commit is contained in:
Luis Fernando Saisa Lopez
2015-03-16 13:27:49 -04:00
parent db29297e35
commit 326af06080

View File

@@ -4,6 +4,8 @@
*/
var _NODE_SELECTED;
var flagRenderTabLog = false;
var main = function(){
var cookiep = new Ext.state.CookieProvider();
@@ -130,7 +132,19 @@ var main = function(){
activeTab:this.items.indexOf(this.getActiveTab())
};
},
items: items
items: items,
listeners: {
tabchange: function (tabpanel, tab)
{
if (tab.id == "logs" && flagRenderTabLog) {
tab.getLoader().load(tab.root);
}
if (tab.id == "logs") {
flagRenderTabLog = true;
}
}
}
}),
{
region: 'center',
@@ -166,5 +180,3 @@ new Ext.KeyMap(document, {
});
Ext.onReady(main);