Fixed #576: Visualization in mode `view` when an array with more than 100 items is rendered
This commit is contained in:
parent
36f79de242
commit
c680a1ca4c
|
@ -5,6 +5,8 @@ https://github.com/josdejong/jsoneditor
|
||||||
|
|
||||||
## not yet released, version 5.24.4
|
## not yet released, version 5.24.4
|
||||||
|
|
||||||
|
- Fixed #576: Visualization in mode `view` when an array
|
||||||
|
with more than 100 items is rendered.
|
||||||
- Fixed JSONEditor not working on IE11: continue and throw console
|
- Fixed JSONEditor not working on IE11: continue and throw console
|
||||||
errors when `Promise` is undefined.
|
errors when `Promise` is undefined.
|
||||||
- Fixed `onClose` of color picker not being fired when clicking outside
|
- Fixed `onClose` of color picker not being fired when clicking outside
|
||||||
|
|
|
@ -79,8 +79,10 @@ function showMoreNodeFactory(Node) {
|
||||||
tdContents.appendChild(moreContents);
|
tdContents.appendChild(moreContents);
|
||||||
|
|
||||||
var moreTr = document.createElement('tr');
|
var moreTr = document.createElement('tr');
|
||||||
moreTr.appendChild(document.createElement('td'));
|
if (this.editor.options.mode === 'tree') {
|
||||||
moreTr.appendChild(document.createElement('td'));
|
moreTr.appendChild(document.createElement('td'));
|
||||||
|
moreTr.appendChild(document.createElement('td'));
|
||||||
|
}
|
||||||
moreTr.appendChild(tdContents);
|
moreTr.appendChild(tdContents);
|
||||||
moreTr.className = 'jsoneditor-show-more';
|
moreTr.className = 'jsoneditor-show-more';
|
||||||
this.dom.tr = moreTr;
|
this.dom.tr = moreTr;
|
||||||
|
|
Loading…
Reference in New Issue