update of user data after submission

parent 5d1e943e
...@@ -134,9 +134,9 @@ dashboardControllers.controller('SetupCtrl', function SetupCtrl( ...@@ -134,9 +134,9 @@ dashboardControllers.controller('SetupCtrl', function SetupCtrl(
$window.sessionStorage.user = JSON.stringify(user); $window.sessionStorage.user = JSON.stringify(user);
$location.path("/students"); // $location.path("/students");
//$scope.$apply(); $scope.$apply();
}) })
.error(function () { .error(function () {
ngToast.danger({ content: $translate.instant('data_no_saved') }); ngToast.danger({ content: $translate.instant('data_no_saved') });
......
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