From b0958ec07a7d927121c1bd74cbac84f8130c43f0 Mon Sep 17 00:00:00 2001 From: Tony Valle <79843014+superskip@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:12:42 +0200 Subject: [PATCH] fix: [DHIS2-17646] generate new attributes after using "Save and add new" (#1961) --- 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}); }); } };