Fixed #544: JSON Schema errors sometimes not being displayed in the editor
This commit is contained in:
parent
cab3211e05
commit
fbf20b5031
|
@ -9,6 +9,8 @@ https://github.com/josdejong/jsoneditor
|
|||
screen the modals are displayed.
|
||||
- Integrated JMESPath for advanced filtering, sorting, and transforming
|
||||
of JSON documents.
|
||||
- Fixed #544: JSON Schema errors sometimes not being displayed in the
|
||||
editor.
|
||||
|
||||
|
||||
## 2018-06-03, version 5.17.1
|
||||
|
|
|
@ -219,7 +219,7 @@ Node.prototype.setError = function (error, child) {
|
|||
Node.prototype.updateError = function() {
|
||||
var error = this.error;
|
||||
var tdError = this.dom.tdError;
|
||||
if (error && this.dom && this.dom.tr && !tdError) {
|
||||
if (error && this.dom && this.dom.tr) {
|
||||
if (!tdError) {
|
||||
tdError = document.createElement('td');
|
||||
this.dom.tdError = tdError;
|
||||
|
|
Loading…
Reference in New Issue