Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e07b3fdb
authored
Mar 13, 2017
by
Jose Antonio
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Issue
#74
- bug fixed
parent
c5a164ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
sails/src/assets/scripts/modules/student/controllers/collections.js
sails/src/assets/scripts/modules/student/controllers/collections.js
View file @
e07b3fdb
...
@@ -322,6 +322,9 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
...
@@ -322,6 +322,9 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
// Returned data from the modal window
// Returned data from the modal window
modalInstance
.
result
.
then
(
function
(
pictoId
)
{
modalInstance
.
result
.
then
(
function
(
pictoId
)
{
if
(
!
pictoId
)
return
;
// Send the picto to the server
// Send the picto to the server
$http
.
put
(
config
.
backend
+
'/stu/'
+
$scope
.
studentData
.
id
+
'/cat'
,
{
$http
.
put
(
config
.
backend
+
'/stu/'
+
$scope
.
studentData
.
id
+
'/cat'
,
{
prev_id_stu_pic
:
picto_cat
.
id
,
prev_id_stu_pic
:
picto_cat
.
id
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment