Fixed #308: wrong positioning of label "empty array" when `onEditable` returns false
This commit is contained in:
parent
91d9bc6903
commit
e4073905a5
|
@ -3,6 +3,12 @@
|
||||||
https://github.com/josdejong/jsoneditor
|
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
|
## 2016-06-15, version 5.5.6
|
||||||
|
|
||||||
- Fixed #303: editor contents collapsed when the parent div of the JSONEditor
|
- Fixed #303: editor contents collapsed when the parent div of the JSONEditor
|
||||||
|
|
|
@ -44,7 +44,7 @@ function appendNodeFactory(Node) {
|
||||||
|
|
||||||
// TODO: consistent naming
|
// TODO: consistent naming
|
||||||
|
|
||||||
if (this.editable.field) {
|
if (this.editor.options.mode === 'tree') {
|
||||||
// a cell for the dragarea column
|
// a cell for the dragarea column
|
||||||
dom.tdDrag = document.createElement('td');
|
dom.tdDrag = document.createElement('td');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue