From 385f57bf0ca9ed8b0e43dd14fbf959295de83c21 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Tue, 19 Sep 2017 18:49:48 +0200 Subject: [PATCH] [fix] Fix comments initailisation on group view --- www/plugins/es/js/controllers/group-controllers.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/plugins/es/js/controllers/group-controllers.js b/www/plugins/es/js/controllers/group-controllers.js index ccad53153..489a59b1b 100644 --- a/www/plugins/es/js/controllers/group-controllers.js +++ b/www/plugins/es/js/controllers/group-controllers.js @@ -212,6 +212,9 @@ function ESGroupViewController($scope, $state, $ionicPopover, UIUtils, csConfig, $scope.pictures = data.record.pictures || []; delete data.record.pictures; // remove, as already stored in $scope.pictures + // Load other data (from child controller) + $scope.$broadcast('$recordView.load', id, esGroup.record.comment); + $scope.loading = false; UIUtils.loading.hide(); $scope.updateView(); -- GitLab