From fb4933879c9bd195429a9e479d6263c17b3ce94c Mon Sep 17 00:00:00 2001 From: Stefan Yohansson Date: Wed, 30 Sep 2015 14:25:27 -0300 Subject: [PATCH] FS-8251 #resolve [verto_communicator] factory reset now clear all local storage --- .../verto_communicator/src/storageService/services/storage.js | 2 ++ 1 file changed, 2 insertions(+) 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); }, };