Skip to content
Snippets Groups Projects
Commit 966aa736 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #13993 TIME 0:10 fix timeout

parent 35e0c9d8
No related branches found
No related tags found
No related merge requests found
......@@ -9,5 +9,5 @@
</head>
<body>
<app-root></app-root>
<script src="runtime.ab8a82d9fa1776b0f9a2.js" defer></script><script src="polyfills-es5.edc5de4d1140a2eeda65.js" nomodule defer></script><script src="scripts.0ee84e5cb8e2553ffadc.js" defer></script><script src="main.54ed28cf190e2f2321da.js" defer></script></body>
<script src="runtime.ab8a82d9fa1776b0f9a2.js" defer></script><script src="polyfills-es5.edc5de4d1140a2eeda65.js" nomodule defer></script><script src="scripts.0ee84e5cb8e2553ffadc.js" defer></script><script src="main.04684124d78447a000e9.js" defer></script></body>
</html>
......@@ -159,7 +159,12 @@ export class RedirectActionComponent implements OnInit {
});
$j('#jstree')
// listen for event
.on('select_node.jstree', (e: any, data: any) => {
.on('loaded.jstree', (e: any, data: any) => {
if (this.currentEntity.serialId > 0) {
$j('#jstree').jstree('select_node', this.currentEntity);
this.selectEntity(this.currentEntity, true);
}
}).on('select_node.jstree', (e: any, data: any) => {
this.selectEntity(data.node.original);
}).on('deselect_node.jstree', (e: any, data: any) => {
......@@ -167,13 +172,6 @@ export class RedirectActionComponent implements OnInit {
})
// create the instance
.jstree();
if (this.currentEntity.serialId > 0) {
setTimeout(() => {
$j('#jstree').jstree('select_node', this.currentEntity);
this.selectEntity(this.currentEntity, true);
}, 300);
}
}, 0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment