Only use rw attributes for setting values.
This commit is contained in:
parent
f510b1441f
commit
0bec67ec73
1 changed files with 5 additions and 2 deletions
|
@ -15,8 +15,11 @@ class App.UiElement.ticket_perform_action
|
||||||
|
|
||||||
# ignore passwords and relations
|
# ignore passwords and relations
|
||||||
if row.type isnt 'password' && row.name.substr(row.name.length-4,4) isnt '_ids'
|
if row.type isnt 'password' && row.name.substr(row.name.length-4,4) isnt '_ids'
|
||||||
config = _.clone(row)
|
|
||||||
elements["#{groupKey}.#{config.name}"] = config
|
# ignore readonly attributes
|
||||||
|
if !row.readonly
|
||||||
|
config = _.clone(row)
|
||||||
|
elements["#{groupKey}.#{config.name}"] = config
|
||||||
|
|
||||||
[defaults, groups, elements]
|
[defaults, groups, elements]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue