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
fe81c275
authored
Jul 27, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
connection checking on sessions reactivated
parent
667a2a61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sails/src/assets/scripts/modules/student/controllers/session.js
sails/src/assets/scripts/modules/student/controllers/session.js
View file @
fe81c275
...
...
@@ -369,7 +369,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
//
// websockets events handling (Dashboard)
//
/*
io
.
socket
.
on
(
'update_peers'
,
function
(
data
)
{
if
(
$scope
.
ws
&&
$scope
.
sessionRunning
&&
$scope
.
actual_try
.
actions
&&
$scope
.
flags
.
paused
==
false
&&
data
.
pcb_count
<
1
)
{
...
...
@@ -383,7 +383,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
}
});
*/
// Remove all listeners to this event
io
.
socket
.
off
(
'action'
);
...
...
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