legend error hotfix

parent 93fba7d0
...@@ -72,8 +72,8 @@ dashboardControllers.controller('PictoConfigCtrl', function ( ...@@ -72,8 +72,8 @@ dashboardControllers.controller('PictoConfigCtrl', function (
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
if ($scope.update_all_legend) { if ($scope.update_all_legend) {
$http $http
.put(config.backend+'/stu/'+ stu.id + '/legend/' + $scope.studentPicto.attributes.legend,{ .put(config.backend + '/stu/' + stu.id + '/legend/' + $scope.studentPicto.attributes.legend,{
id_grid: $scope.studentPicto.id_grid id_grid: $scope.viewingGrid.id
}) })
.success(function(data, status, headers, config) { .success(function(data, status, headers, config) {
resolve(result); 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