Fixed regression that opening of motion create form failed.
Introduced with commit 3de4a2af1c
.
This commit is contained in:
parent
6899d93cbf
commit
d1ff1e540f
@ -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