From 9ce0c8425cc2e18a806a2ae489405afedaeb5b2f Mon Sep 17 00:00:00 2001 From: Cookiezaurs Date: Tue, 28 May 2019 19:35:37 +0300 Subject: [PATCH 1/2] [SERVER-1401] fixed bug with not displaying correct values in app level config after saving (for configurations created in plugins plugin) --- plugins/plugins/frontend/public/javascripts/countly.views.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/plugins/frontend/public/javascripts/countly.views.js b/plugins/plugins/frontend/public/javascripts/countly.views.js index abc2b5d2561..f627c36d366 100755 --- a/plugins/plugins/frontend/public/javascripts/countly.views.js +++ b/plugins/plugins/frontend/public/javascripts/countly.views.js @@ -1233,6 +1233,9 @@ if (countlyGlobal.member.global_admin) { initialize: function() { this.plugin = this.key; }, + resetTemplateData: function(){ + this.template = Handlebars.compile(this.generateTemplate(this.key)); + }, generateTemplate: function(id) { var fields = ''; this.configsData = countlyPlugins.getConfigsData(); From 6daca28e94c5d943bfd3d30183f2c0068e255b94 Mon Sep 17 00:00:00 2001 From: Cookiezaurs Date: Fri, 31 May 2019 12:56:18 +0300 Subject: [PATCH 2/2] eslint fixes --- plugins/plugins/frontend/public/javascripts/countly.views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugins/frontend/public/javascripts/countly.views.js b/plugins/plugins/frontend/public/javascripts/countly.views.js index f627c36d366..3023c14a8cb 100755 --- a/plugins/plugins/frontend/public/javascripts/countly.views.js +++ b/plugins/plugins/frontend/public/javascripts/countly.views.js @@ -1233,7 +1233,7 @@ if (countlyGlobal.member.global_admin) { initialize: function() { this.plugin = this.key; }, - resetTemplateData: function(){ + resetTemplateData: function() { this.template = Handlebars.compile(this.generateTemplate(this.key)); }, generateTemplate: function(id) {