ui: nav tree: move config sets to top of the class

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-11-24 16:53:22 +01:00
parent 1aae684ba6
commit c4166d27fc

View File

@ -145,6 +145,13 @@ Ext.define('CustomTreeListItem', {
Ext.define('PBS.view.main.NavigationTree', {
extend: 'Ext.list.Tree',
xtype: 'navigationtree',
animation: false,
expanderOnly: true,
expanderFirst: false,
store: 'NavigationStore',
ui: 'nav',
defaults: {
xtype: 'qtiptreelistitem',
},
@ -329,10 +336,4 @@ Ext.define('PBS.view.main.NavigationTree', {
me.pathToSelect = path;
}
},
animation: false,
expanderOnly: true,
expanderFirst: false,
store: 'NavigationStore',
ui: 'nav',
});