Fixed #589 for undo/redo and duplicate actions too
This commit is contained in:
parent
67ef58bef3
commit
d0b49fbf12
|
@ -10,7 +10,7 @@ https://github.com/josdejong/jsoneditor
|
|||
- Fixed #590: validation failing in code and text mode when status
|
||||
bar is disabled.
|
||||
- Fixed #589: the path in the navigation bar is not updated
|
||||
when deleting a node.
|
||||
when duplicating or removing a node, and neither after an undo/redo action.
|
||||
- Fixed duplicate and remove of the action menu of multiple selected
|
||||
nodes not working.
|
||||
- Fixed not preventing default selection of text when selecting nodes.
|
||||
|
|
|
@ -500,6 +500,9 @@ treemode._onChange = function () {
|
|||
return;
|
||||
}
|
||||
|
||||
// selection can be changed after undo/redo
|
||||
this.selection = this.getDomSelection();
|
||||
|
||||
// validate JSON schema (if configured)
|
||||
this._debouncedValidate();
|
||||
|
||||
|
|
Loading…
Reference in New Issue