error in runningSession variable fixed

parent 7e8b1325
# Changes
Changes to be performed manually in servers to upgrade Changes to be performed manually in servers to upgrade
AngularJS ## AngularJS
(already done in dev)
- angular-re-captcha has been replaced by angular-recaptcha, so bower has to be run - angular-re-captcha has been replaced by angular-recaptcha, so bower has to be run
- reinstall ui-bootstrap - reinstall ui-bootstrap
- replace angular-file-upload by ng-file-upload - replace angular-file-upload by ng-file-upload
`bower install`
## Database
Database (already done in dev)
- reload trigers-enrolments-integrity-constraints.sql - reload trigers-enrolments-integrity-constraints.sql
- alter table supervisor to add postal_code: - alter table supervisor to add postal_code:
`alter table supervisor add column `postal_code` char(10) COLLATE utf8_unicode_ci NOT NULL;` `alter table supervisor add column `postal_code` char(10) COLLATE utf8_unicode_ci NOT NULL;`
- alter table office to add postal_code:
`alter table office add column `postal_code` char(10) COLLATE utf8_unicode_ci NOT NULL;`
- remove max_students and current_students columns from offices:
`alter table office drop column max_students;`
`alter table office drop column current_students;`
- copy postal_code value from office to its supervisors - copy postal_code value from office to its supervisors
`update supervisor as sup inner join office as off on off.id = sup.id_off set sup.postal_code = off.postal_code;` `update supervisor as sup inner join office as off on off.id = sup.id_off set sup.postal_code = off.postal_code;`
- alter table office - alter table office
......
...@@ -173,7 +173,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr ...@@ -173,7 +173,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
function(data, status, headers, config) { function(data, status, headers, config) {
$scope.wsessions[0].end = data.data.end; $scope.wsessions[0].end = data.data.end;
$scope.ws_recover=false; $scope.ws_recover=false;
$sessionRunning = false; $scope.sessionRunning = false;
} }
,function(data, status, headers, config) { ,function(data, status, headers, config) {
} }
......
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