Fixed #308: wrong positioning of label "empty array" when `onEditable` returns false

This commit is contained in:
jos 2016-07-05 20:09:34 +02:00
parent 91d9bc6903
commit e4073905a5
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,12 @@
https://github.com/josdejong/jsoneditor
## not yet released, version 5.5.7
- Fixed #308: wrong positioning of label "empty array" when `onEditable`
returns false.
## 2016-06-15, version 5.5.6
- Fixed #303: editor contents collapsed when the parent div of the JSONEditor

View File

@ -44,7 +44,7 @@ function appendNodeFactory(Node) {
// TODO: consistent naming
if (this.editable.field) {
if (this.editor.options.mode === 'tree') {
// a cell for the dragarea column
dom.tdDrag = document.createElement('td');