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
9fa26d1d
authored
Apr 24, 2017
by
Jose Antonio
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix binding sceneList
parent
5c915b96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
sails/src/assets/scripts/modules/student/controllers/collections.js
sails/src/assets/scripts/modules/student/views/collections.html
sails/src/assets/scripts/modules/student/controllers/collections.js
View file @
9fa26d1d
...
...
@@ -287,7 +287,7 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
ngToast
.
success
({
content
:
translation
});
});
location
.
reload
();
$scope
.
loadScenesList
();
}).
error
(
function
()
{});
...
...
sails/src/assets/scripts/modules/student/views/collections.html
View file @
9fa26d1d
...
...
@@ -329,7 +329,7 @@
<hr>
<div
class=
"list-group"
>
<a
class=
"list-group-item"
ng-repeat=
"scene in scenesList"
ng-click=
"showScene(scene.id)"
ng-class=
"(scene.id == viewingScene.id) ? 'active' : ''"
>
<a
class=
"list-group-item"
ng-repeat=
"scene in scenesList
track by $index
"
ng-click=
"showScene(scene.id)"
ng-class=
"(scene.id == viewingScene.id) ? 'active' : ''"
>
<i
class=
"fa fa-star"
aria-hidden=
"true"
ng-if=
"scene.active"
></i>
{{ scene.name }}
</a>
</div>
...
...
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