Skip to content

Commit badd44e

Browse files
author
Alvin
committed
fixes semantic ui container bug - cannot abide the extra div
1 parent d5ccd6f commit badd44e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

dist/jsoneditor.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jsoneditor.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jsoneditor.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jsoneditor.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/editors/object.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ JSONEditor.defaults.editors.object = JSONEditor.AbstractEditor.extend({
164164
row.appendChild(editor.container);
165165
});
166166
}
167-
this.row_container.innerHTML = '';
168-
this.row_container.appendChild(container);
167+
this.row_container.innerHTML = container.innerHTML;
168+
// line above instead of appendChild gets rid of container b/c xtra nesting breaks semantic .ui.grid
169169
},
170170
getPropertySchema: function(key) {
171171
// Schema declared directly in properties

0 commit comments

Comments
 (0)