Mercurial > lada > lada-client
comparison app/view/widget/DynamicGrid.js @ 1217:4270da0f7d3b
Merged branch schema-update into default.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 14 Oct 2016 18:34:19 +0200 |
parents | f4a9fe78404f |
children | bfdd875cdb5f |
comparison
equal
deleted
inserted
replaced
1216:75e5caebd392 | 1217:4270da0f7d3b |
---|---|
96 width: 30, | 96 width: 30, |
97 getClass: function (val, meta, rec) { | 97 getClass: function (val, meta, rec) { |
98 if (rec.get('readonly') === false && | 98 if (rec.get('readonly') === false && |
99 rec.get('owner') === true && | 99 rec.get('owner') === true && |
100 !rec.get('statusEdit')) { | 100 !rec.get('statusEdit')) { |
101 return 'edit'; | 101 return 'edit'; |
102 } | 102 } |
103 else if (rec.get('readonly') === false && | 103 else if (rec.get('readonly') === false && |
104 rec.get('owner') === true && | 104 rec.get('owner') === true && |
105 rec.get('statusEdit')) { | 105 rec.get('statusEdit')) { |
106 return 'editstatus'; | 106 return 'editstatus'; |