Commit ac8a2cea40e74a58b55896911d524af798973852

Authored by Igor Kulikov
1 parent d99c2a9f

Minor changes

@@ -147,14 +147,14 @@ export class NavTreeComponent implements OnInit { @@ -147,14 +147,14 @@ export class NavTreeComponent implements OnInit {
147 147
148 this.treeElement = $('.tb-nav-tree-container', this.elementRef.nativeElement).jstree(config); 148 this.treeElement = $('.tb-nav-tree-container', this.elementRef.nativeElement).jstree(config);
149 149
150 - this.treeElement.on('changed.jstree', (e, data) => { 150 + this.treeElement.on('changed.jstree', (e: any, data) => {
151 const node: NavTreeNode = data.instance.get_selected(true)[0]; 151 const node: NavTreeNode = data.instance.get_selected(true)[0];
152 if (this.onNodeSelected) { 152 if (this.onNodeSelected) {
153 this.onNodeSelected(node, e as Event); 153 this.onNodeSelected(node, e as Event);
154 } 154 }
155 }); 155 });
156 156
157 - this.treeElement.on('model.jstree', (e, data) => { 157 + this.treeElement.on('model.jstree', (e: any, data) => {
158 if (this.onNodesInserted) { 158 if (this.onNodesInserted) {
159 this.onNodesInserted(data.nodes, data.parent); 159 this.onNodesInserted(data.nodes, data.parent);
160 } 160 }