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
62dcf558
authored
Apr 26, 2017
by
Jose Antonio
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Reports out of range FIX
parent
c23f9262
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sails/src/assets/scripts/modules/student/controllers/reports.js
sails/src/assets/scripts/modules/student/controllers/reports.js
View file @
62dcf558
...
...
@@ -401,7 +401,7 @@ dashboardControllers.controller('StudentReportsCtrl', function StudentReportsCtr
if
(
working_sessions
[
i
].
tries
[
j
].
actions
[
k
].
type
==
"pausesession"
){
//Saltar esta action. La siguiente action a pausesession será before
if
(
working_sessions
[
i
].
tries
[
j
].
actions
.
length
>
k
){
if
(
k
+
1
<
working_sessions
[
i
].
tries
[
j
].
actions
.
length
){
//Comprobacion para evitar salir del array
before
=
moment
(
new
Date
(
working_sessions
[
i
].
tries
[
j
].
actions
[
k
+
1
].
timestamp
),
"DD/MM/YYYY HH:mm:ss.SSS"
);
}
else
{
...
...
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