From: Stefan Yohansson Date: Wed, 30 Sep 2015 17:25:27 +0000 (-0300) Subject: FS-8251 #resolve [verto_communicator] factory reset now clear all local storage X-Git-Tag: v1.6.3~1^2~80^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb4933879c9bd195429a9e479d6263c17b3ce94c;p=thirdparty%2Ffreeswitch.git FS-8251 #resolve [verto_communicator] factory reset now clear all local storage --- diff --git a/html5/verto/verto_communicator/src/storageService/services/storage.js b/html5/verto/verto_communicator/src/storageService/services/storage.js index 7120db18de..f0b8bb1b80 100644 --- a/html5/verto/verto_communicator/src/storageService/services/storage.js +++ b/html5/verto/verto_communicator/src/storageService/services/storage.js @@ -53,6 +53,8 @@ data.userStatus = 'disconnected'; }, factoryReset: function() { + localStorage.clear(); + // set defaultSettings again data.$reset(defaultSettings); }, };