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
|
// open new/edit dialog
|
||||||
$scope.openDialog = function (motion) {
|
$scope.openDialog = function (motion) {
|
||||||
|
if (motion) {
|
||||||
MotionComment.populateFields(motion);
|
MotionComment.populateFields(motion);
|
||||||
|
}
|
||||||
ngDialog.open(MotionForm.getDialog(motion));
|
ngDialog.open(MotionForm.getDialog(motion));
|
||||||
};
|
};
|
||||||
// Export dialog
|
// Export dialog
|
||||||
|
Loading…
Reference in New Issue
Block a user