Commit dc5a7f8347a60f70ebd7edb100231f1cf56903d5
1 parent
78c1875c
Exists in
master
and in
109 other branches
correction : CAT_SUFFIX, not BASE_SUFFIX
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
js/app/models/AmdaNode.js
... | ... | @@ -138,8 +138,8 @@ Ext.define('amdaModel.AmdaNode', { |
138 | 138 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_MISS; |
139 | 139 | } |
140 | 140 | // base |
141 | - else if (this.id && Ext.util.Format.substr(this.id, -(amdaUI.ExplorerUI.BASE_SUFFIX.length), this.id.length) === amdaUI.ExplorerUI.BASE_SUFFIX ) { | |
142 | - itemKind = amdaUI.ExplorerUI.ITEM_KIND_BASE; | |
141 | + else if (this.id && Ext.util.Format.substr(this.id, -(amdaUI.ExplorerUI.CAT_SUFFIX.length), this.id.length) === amdaUI.ExplorerUI.CAT_SUFFIX ) { | |
142 | + itemKind = amdaUI.ExplorerUI.ITEM_KIND_BASE; | |
143 | 143 | } |
144 | 144 | // other case |
145 | 145 | else { | ... | ... |
js/app/views/ExplorerUI.js
... | ... | @@ -97,7 +97,7 @@ Ext.define('amdaUI.ExplorerUI', { |
97 | 97 | ROOT_SUFFIX: '-treeRootNode', |
98 | 98 | SUB_ROOT_SUFFIX : 'RootNode', |
99 | 99 | |
100 | - ITEM_KIND_BASE : 'treeBase', | |
100 | + ITEM_KIND_BASE : 'base', | |
101 | 101 | ITEM_KIND_ROOT : 'root', |
102 | 102 | ITEM_KIND_LEAF : 'leaf', |
103 | 103 | ITEM_KIND_DIRE : 'dire', | ... | ... |