|
58 |
postCreate: function() { |
58 |
postCreate: function() { |
59 |
this.inherited(arguments); |
59 |
this.inherited(arguments); |
60 |
|
60 |
|
61 |
this.on('dynamicValuesLoaded', lang.hitch(this, function(items) { |
61 |
this.on('valuesLoaded', lang.hitch(this, function(items) { |
62 |
array.forEach( items, lang.hitch( this, function( item ) { |
62 |
array.forEach( items, lang.hitch( this, function( item ) { |
63 |
// make sure that the item has all necessary properties |
63 |
// make sure that the item has all necessary properties |
64 |
if (!array.every(['module', 'id', 'objectType'], function(ikey) { |
64 |
if (!array.every(['module', 'id', 'objectType'], function(ikey) { |