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,6 +15,9 @@ 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'
|
||||||
|
|
||||||
|
# ignore readonly attributes
|
||||||
|
if !row.readonly
|
||||||
config = _.clone(row)
|
config = _.clone(row)
|
||||||
elements["#{groupKey}.#{config.name}"] = config
|
elements["#{groupKey}.#{config.name}"] = config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue