Solved bug: cannot edit an elementary field to make it an array
Solved bug: cannot edit an elementary field to make it an array

Also:

- Added a new comment, improved a documentation comment, fixed a typo in
  another comment, improved another comment.
- Moved a variable assignment below an if that could return from the
  function.

jillix/jQuery-json-editor,jillix/jQuery-json-editor