From 589eb2675f725ad1d8bfed2c996d430ccd518738 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 25 May 2017 12:47:20 +0300 Subject: [PATCH] Fix Bug 34996. --- apps/common/main/lib/util/LocalStorage.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/util/LocalStorage.js b/apps/common/main/lib/util/LocalStorage.js index 6449a3e88..1a9507d67 100644 --- a/apps/common/main/lib/util/LocalStorage.js +++ b/apps/common/main/lib/util/LocalStorage.js @@ -63,7 +63,12 @@ define(['gateway'], function () { var _setItem = function(name, value, just) { if (_lsAllowed) { - localStorage.setItem(name, value); + try + { + localStorage.setItem(name, value); + } + catch (error){} + } else { _store[name] = value;