Fixed validation not being executed after `update` in tree mode

This commit is contained in:
jos 2018-08-07 13:46:18 +02:00
parent e794943e20
commit 73bec80df5
1 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,9 @@ treemode.update = function (json) {
this.node.update(json);
this.onChangeDisabled = false;
// validate JSON schema
this.validate();
// update search result if any
if (this.searchBox && !this.searchBox.isEmpty()) {
this.searchBox.forceSearch();