legend error hotfix

parent 93fba7d0
......@@ -72,8 +72,8 @@ dashboardControllers.controller('PictoConfigCtrl', function (
return new Promise(function (resolve, reject) {
if ($scope.update_all_legend) {
$http
.put(config.backend+'/stu/'+ stu.id + '/legend/' + $scope.studentPicto.attributes.legend,{
id_grid: $scope.studentPicto.id_grid
.put(config.backend + '/stu/' + stu.id + '/legend/' + $scope.studentPicto.attributes.legend,{
id_grid: $scope.viewingGrid.id
})
.success(function(data, status, headers, config) {
resolve(result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment