Skip to content

Commit

Permalink
Change table description format to match array's. Fixes #219
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Aug 11, 2014
1 parent deee0af commit 1afe5a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/editors/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ JSONEditor.defaults.editors.table = JSONEditor.defaults.editors.array.extend({
this.container.appendChild(this.title);
this.title_controls = this.theme.getHeaderButtonHolder();
this.title.appendChild(this.title_controls);
this.panel = this.theme.getIndentedPanel();
this.container.appendChild(this.panel);
if(this.schema.description) {
this.description = this.theme.getDescription(this.schema.description);
this.panel.appendChild(this.description);
this.container.appendChild(this.description);
}
this.panel = this.theme.getIndentedPanel();
this.container.appendChild(this.panel);
this.error_holder = document.createElement('div');
this.panel.appendChild(this.error_holder);
}
Expand Down

0 comments on commit 1afe5a4

Please sign in to comment.