diff --git a/html5/verto/verto_communicator/src/storageService/services/storage.js b/html5/verto/verto_communicator/src/storageService/services/storage.js index 04e8b1709d..f2f7def4f5 100644 --- a/html5/verto/verto_communicator/src/storageService/services/storage.js +++ b/html5/verto/verto_communicator/src/storageService/services/storage.js @@ -38,7 +38,7 @@ }); function changeData(verto_data) { - angular.extend(data, verto_data); + jQuery.extend(true, data, verto_data); } return { diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js index 730448b79b..7834be906f 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js @@ -68,7 +68,6 @@ storage.data.password = verto.data.password; console.debug('Redirecting to dialpad page.'); - storage.changeData(verto); toastr.success('Login successful.', 'Welcome'); $location.path('/dialpad'); } else { @@ -269,7 +268,6 @@ title: 'Oops, Active Call in Course.', message: 'It seems you were in a call before leaving the last time. Wanna go back to that?' }).then(function() { - verto.changeData(storage); console.log('redirect to incall page'); $location.path('/incall'); }, function() {