Fix 'follow recommendation for all motions' function.
in motion block detail view
This commit is contained in:
parent
6f05fc09ce
commit
bbd8782c4c
@ -147,7 +147,7 @@ angular.module('OpenSlidesApp.motions.motionBlock', [])
|
||||
ngDialog.open(MotionBlockForm.getDialog(motionBlock));
|
||||
};
|
||||
$scope.followRecommendations = function () {
|
||||
$http.post('/rest/motions/motion-block/' + motionBlock.id + '/follow_recommendations/')
|
||||
$http.post('/rest/motions/motion-block/' + motionBlockId + '/follow_recommendations/')
|
||||
.success(function(data) {
|
||||
$scope.alert = { type: 'success', msg: data.detail, show: true };
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user