Merge pull request #3196 from emanuelschuetze/motionCommentRegression
Fixed regression that opening of motion create form failed.
This commit is contained in:
commit
768cc5f711
@ -1046,7 +1046,9 @@ angular.module('OpenSlidesApp.motions.site', [
|
||||
|
||||
// open new/edit dialog
|
||||
$scope.openDialog = function (motion) {
|
||||
MotionComment.populateFields(motion);
|
||||
if (motion) {
|
||||
MotionComment.populateFields(motion);
|
||||
}
|
||||
ngDialog.open(MotionForm.getDialog(motion));
|
||||
};
|
||||
// Export dialog
|
||||
|
Loading…
Reference in New Issue
Block a user