error picto status change

parent f66da0cc
...@@ -339,7 +339,8 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec ...@@ -339,7 +339,8 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
} }
$http.put(config.backend + '/stu/' + $scope.studentData.id + '/picto/' + studentPicto.id, { $http.put(config.backend + '/stu/' + $scope.studentData.id + '/picto/' + studentPicto.id, {
attributes: studentPicto.attributes attributes: studentPicto.attributes,
id_child_grid: studentPicto.id_child_grid
}) })
.success(function (newStuPicto) { .success(function (newStuPicto) {
io.socket.post('/stu/vocabulary', { io.socket.post('/stu/vocabulary', {
......
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