From 6c47d1528a6ae7e34023519d96b595bb074a8b72 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 23 May 2019 17:22:47 +0200 Subject: [PATCH] Revert "provide tab id" This reverts commit e5484ee833a9844c69420bbd5b1508cf6a04e1d1. --- lam/templates/lib/500_lam.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lam/templates/lib/500_lam.js b/lam/templates/lib/500_lam.js index 85c31b58..f302cafb 100644 --- a/lam/templates/lib/500_lam.js +++ b/lam/templates/lib/500_lam.js @@ -1111,23 +1111,6 @@ window.lam.html.preventEnter = function() { }); } -window.lam.tabs = window.lam.tabs || {}; - -/** - * Returns the id of the current browser tab. - * - * @returns tab id - */ -window.lam.tabs.getTabId = function() { - var lamTabId = sessionStorage.getItem('lamTabId'); - if (!lamTabId) { - var date = new Date(); - lamTabId = date.getTime() + '-' + Math.floor(Math.random() * 10000000000); - sessionStorage.setItem('lamTabId', lamTabId); - } - return lamTabId; -} - window.lam.selfservice = window.lam.selfservice || {}; /**