diff --git a/CHANGELOG b/CHANGELOG index f77a452b4..2321a83d6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,6 +14,7 @@ Motions: - New export dialog [#3185]. - Fixed issue when creating/deleting motion comment fields in the settings [#3187]. +- Fixed empty motion comment field in motion update form [#3194]. Core: - No reload on logoff. OpenSlides is now a full single page diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js index 6bae75a30..424f941b6 100644 --- a/openslides/motions/static/js/motions/site.js +++ b/openslides/motions/static/js/motions/site.js @@ -838,6 +838,7 @@ angular.module('OpenSlidesApp.motions.site', [ 'ngDialog', 'MotionForm', 'Motion', + 'MotionComment', 'Category', 'Config', 'Tag', @@ -851,7 +852,7 @@ angular.module('OpenSlidesApp.motions.site', [ 'osTableSort', 'MotionExportForm', 'MotionPdfExport', - function($scope, $state, $http, gettext, gettextCatalog, ngDialog, MotionForm, Motion, + function($scope, $state, $http, gettext, gettextCatalog, ngDialog, MotionForm, Motion, MotionComment, Category, Config, Tag, Workflow, User, Agenda, MotionBlock, Projector, ProjectionDefault, osTableFilter, osTableSort, MotionExportForm, MotionPdfExport) { Motion.bindAll({}, $scope, 'motions'); @@ -1045,6 +1046,7 @@ angular.module('OpenSlidesApp.motions.site', [ // open new/edit dialog $scope.openDialog = function (motion) { + MotionComment.populateFields(motion); ngDialog.open(MotionForm.getDialog(motion)); }; // Export dialog