diff --git a/src/editors/array.js b/src/editors/array.js index ca05e109d..c8ad7492d 100644 --- a/src/editors/array.js +++ b/src/editors/array.js @@ -29,29 +29,32 @@ JSONEditor.defaults.editors.array = JSONEditor.AbstractEditor.extend({ } }, enable: function() { - if(this.add_row_button) this.add_row_button.disabled = false; - if(this.remove_all_rows_button) this.remove_all_rows_button.disabled = false; - if(this.delete_last_row_button) this.delete_last_row_button.disabled = false; - - if(this.rows) { - for(var i=0; i