From 7726eb3a57213137c469b7584f4f2bcf69366af4 Mon Sep 17 00:00:00 2001 From: Tony Valle <79843014+superskip@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:13:24 +0200 Subject: [PATCH] fix: [DHIS2-17646] generate new attributes after using "Save and add new" (#1962) --- components/registration/registration-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/registration/registration-controller.js b/components/registration/registration-controller.js index 1f2b3b9a4..f0eefdd26 100644 --- a/components/registration/registration-controller.js +++ b/components/registration/registration-controller.js @@ -476,7 +476,7 @@ trackerCapture.controller('RegistrationController', $scope.apiFormattedTei = {}; $scope.currentEvent = {}; $timeout(function() { - $rootScope.$broadcast('registrationWidget', {registrationMode: 'REGISTRATION'}); + $rootScope.$broadcast('registrationWidget', {registrationMode: 'REGISTRATION', generateAttributes: true}); }); } };