Merge pull request #452 in FS/freeswitch from ~JMESQUITA/freeswitch:bugfix/FS-8043-doesn-t-appear-to-use-the-selected to master
* commit '8b00fe8dc8b03085da1a63ec4ad80ce08f81105f': FS-8043: [verto_communicator] Remove unnecessary calls to localStorage.
This commit is contained in:
commit
0ffa3a5d0b
|
@ -38,7 +38,7 @@
|
|||
});
|
||||
|
||||
function changeData(verto_data) {
|
||||
angular.extend(data, verto_data);
|
||||
jQuery.extend(true, data, verto_data);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue