]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8251 #resolve [verto_communicator] factory reset now clear all local storage
authorStefan Yohansson <stefan@evolux.net.br>
Wed, 30 Sep 2015 17:25:27 +0000 (14:25 -0300)
committerStefan Yohansson <stefan@evolux.net.br>
Wed, 30 Sep 2015 17:25:27 +0000 (14:25 -0300)
html5/verto/verto_communicator/src/storageService/services/storage.js

index 7120db18de4d5690d9180530637434a3e3faae57..f0b8bb1b8090e57da81a639fb4c08b891a565384 100644 (file)
@@ -53,6 +53,8 @@
         data.userStatus = 'disconnected';
       },
       factoryReset: function() {
+        localStorage.clear();
+        // set defaultSettings again
         data.$reset(defaultSettings);
       },
     };