From 2ec4464a52226dbb5e2df27736fbbd5de545d863 Mon Sep 17 00:00:00 2001 From: yuri Date: Thu, 5 Mar 2015 15:12:55 +0200 Subject: [PATCH] dev --- .../crm/src/views/campaign/record/panels/statistics.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/client/modules/crm/src/views/campaign/record/panels/statistics.js b/frontend/client/modules/crm/src/views/campaign/record/panels/statistics.js index 2fbdea2299..b990677f19 100644 --- a/frontend/client/modules/crm/src/views/campaign/record/panels/statistics.js +++ b/frontend/client/modules/crm/src/views/campaign/record/panels/statistics.js @@ -30,23 +30,23 @@ Espo.define('Crm:Views.Campaign.Record.Panels.Statistics', 'Views.Record.Panels. switch (type) { case 'Email': case 'Newsletter': - this.fields = ['sentCount', 'openedCount', 'clickedCount', 'optedOutCount', 'bouncedCount', 'revenue']; + this.fieldList = ['sentCount', 'openedCount', 'clickedCount', 'optedOutCount', 'bouncedCount', 'revenue']; break; case 'Web': case 'Television': case 'Radio': - this.fields = ['leadCreatedCount', 'revenue']; + this.fieldList = ['leadCreatedCount', 'revenue']; break; case 'Mail': - this.fields = ['sentCount', 'leadCreatedCount', 'revenue']; + this.fieldList = ['sentCount', 'leadCreatedCount', 'revenue']; break; default: - this.fields = ['leadCreatedCount', 'revenue']; + this.fieldList = ['leadCreatedCount', 'revenue']; } }, setup: function () { - this.fields = ['sentCount', 'openedCount', 'clickedCount', 'optedOutCount', 'bouncedCount', 'leadCreatedCount', 'revenue']; + this.fieldList = ['sentCount', 'openedCount', 'clickedCount', 'optedOutCount', 'bouncedCount', 'leadCreatedCount', 'revenue']; Dep.prototype.setup.call(this); this.setupFieldList();