mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 07:40:22 -04:00
Fixed some bugs with the components tab.
This commit is contained in:
parent
1e938910ed
commit
57f11ff3ea
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ module.exports = class LevelComponentEditView extends View
|
|||
supermodel: @supermodel
|
||||
schema: schema
|
||||
data: data
|
||||
readonly: @me.get('anonymous')
|
||||
readOnly: me.get('anonymous')
|
||||
callbacks: {change: @onComponentSettingsEdited}
|
||||
@componentSettingsTreema = @$el.find('#edit-component-treema').treema treemaOptions
|
||||
@componentSettingsTreema.build()
|
||||
|
@ -69,7 +69,7 @@ module.exports = class LevelComponentEditView extends View
|
|||
supermodel: @supermodel
|
||||
schema: LevelComponent.schema.properties.configSchema
|
||||
data: @levelComponent.get 'configSchema'
|
||||
readonly: @me.get('anonymous')
|
||||
readOnly: me.get('anonymous')
|
||||
callbacks: {change: @onConfigSchemaEdited}
|
||||
@configSchemaTreema = @$el.find('#config-schema-treema').treema treemaOptions
|
||||
@configSchemaTreema.build()
|
||||
|
|
Loading…
Add table
Reference in a new issue