Commit b76ae51803e26275a4979bff5de2ac031945cc8e

Authored by Elena.Budnik
1 parent 0f2c5274
Exists in data-activities

data-activities

Showing 1 changed file with 11 additions and 4 deletions   Show diff stats
js/app/views/ExplorerUI.js
@@ -82,15 +82,18 @@ Ext.define('amdaUI.ExplorerUI', { @@ -82,15 +82,18 @@ Ext.define('amdaUI.ExplorerUI', {
82 { 82 {
83 RESRC_TAB : { 83 RESRC_TAB : {
84 TREE_ID:'resourcesTree', 84 TREE_ID:'resourcesTree',
85 - TREE_TYPE:'resources' 85 + TREE_TYPE:'resources',
  86 + TREE_TITLE:'data'
86 }, 87 },
87 OPE_TAB : { 88 OPE_TAB : {
88 TREE_ID:'operationsTree', 89 TREE_ID:'operationsTree',
89 - TREE_TYPE:'operations' 90 + TREE_TYPE:'operations',
  91 + TREE_TITLE:'activities'
90 }, 92 },
91 JOB_TAB : { 93 JOB_TAB : {
92 TREE_ID:'jobsTree', 94 TREE_ID:'jobsTree',
93 - TREE_TYPE:'jobs' 95 + TREE_TYPE:'jobs',
  96 + TREE_TITLE:'jobs'
94 }, 97 },
95 98
96 CAT_SUFFIX: '-treeBase', 99 CAT_SUFFIX: '-treeBase',
@@ -246,15 +249,19 @@ Ext.define('amdaUI.ExplorerUI', { @@ -246,15 +249,19 @@ Ext.define('amdaUI.ExplorerUI', {
246 { 249 {
247 case amdaUI.ExplorerUI.RESRC_TAB.TREE_TYPE: 250 case amdaUI.ExplorerUI.RESRC_TAB.TREE_TYPE:
248 treeId = amdaUI.ExplorerUI.RESRC_TAB.TREE_ID; 251 treeId = amdaUI.ExplorerUI.RESRC_TAB.TREE_ID;
  252 + treeTitle = amdaUI.ExplorerUI.RESRC_TAB.TREE_TITLE;
249 break; 253 break;
250 case amdaUI.ExplorerUI.OPE_TAB.TREE_TYPE: 254 case amdaUI.ExplorerUI.OPE_TAB.TREE_TYPE:
251 treeId = amdaUI.ExplorerUI.OPE_TAB.TREE_ID; 255 treeId = amdaUI.ExplorerUI.OPE_TAB.TREE_ID;
  256 + treeTitle = amdaUI.ExplorerUI.OPE_TAB.TREE_TITLE;
252 break; 257 break;
253 case amdaUI.ExplorerUI.JOB_TAB.TREE_TYPE: 258 case amdaUI.ExplorerUI.JOB_TAB.TREE_TYPE:
254 treeId = amdaUI.ExplorerUI.JOB_TAB.TREE_ID; 259 treeId = amdaUI.ExplorerUI.JOB_TAB.TREE_ID;
  260 + treeTitle = amdaUI.ExplorerUI.JOB_TAB.TREE_TITLE;
255 break; 261 break;
256 default: 262 default:
257 treeId = amdaUI.ExplorerUI.RESRC_TAB.TREE_ID; 263 treeId = amdaUI.ExplorerUI.RESRC_TAB.TREE_ID;
  264 + treeTitle = amdaUI.ExplorerUI.RESRC_TAB.TREE_TITLE;
258 break; 265 break;
259 } 266 }
260 267
@@ -287,7 +294,7 @@ Ext.define('amdaUI.ExplorerUI', { @@ -287,7 +294,7 @@ Ext.define('amdaUI.ExplorerUI', {
287 294
288 var tree = Ext.create('Ext.tree.Panel', { 295 var tree = Ext.create('Ext.tree.Panel', {
289 id : treeId, 296 id : treeId,
290 - title: treeType, 297 + title: treeTitle,
291 store: store, 298 store: store,
292 rootVisible: false, 299 rootVisible: false,
293 animate: false, 300 animate: false,