Fixed empty motion comment field in motion update form.
Motion comment values were not extracted. Concerns edit button in motion list view only.
This commit is contained in:
parent
152585a73f
commit
3de4a2af1c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user