codecombat / treema

jQuery plugin that generates HTML interfaces to edit JSON data defined by json-schema.
http://codecombat.github.io/treema/
MIT License
151 stars 36 forks source link

Solved issue #13 #14

Closed rubenvereecken closed 10 years ago

rubenvereecken commented 10 years ago

This solved issue #13 where one could still toggle booleans in readOnly mode. The tests written to prevent this only checked the canEdit() method of all children while this method was not called for BooleanNodes.