Hi,
The problem with the Test app has raised its head again the page is freezing on load the error is copied below. I don't believe I have any references to services that are not active!
Regards,
Joe
render: function () {
this.$el.attr('id', this.model.get('assetData')['@id']);
// prepare properties data object for render template
var propsData = {
items: this.model.toJSON(),
mappingHash: this.mappingHash,
// use for select options
srvModel: this.srvModel,
srvType: this.srvModel.get('asset_type') == 'DEVICE_SERVICE' ? 'Device' : 'Service',
Uncaught TypeError: Cannot call method 'get' of null
//modelId: this.model.get('assetData')['@id'],
_: ,
cats: this.tiggzi.getComponentConfig('screen_editor', true).data_categories
};
// compile template
this.$el.html(.template(Template, propsData));
},
Code: Select all
invalidateModel: function() {
this.mediator.Publish("component:screen_editor:se_a