From: vincent@cubedesigners.com Date: Mon, 16 Jan 2017 10:34:19 +0000 (+0000) Subject: #1092 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ecb763213c5e033315a6b996d3b28e76fcefe31c;p=cubeextranet.git #1092 --- diff --git a/fluidbook/compile/_js/fluidbook.js b/fluidbook/compile/_js/fluidbook.js index 495d17269..b68552476 100644 --- a/fluidbook/compile/_js/fluidbook.js +++ b/fluidbook/compile/_js/fluidbook.js @@ -212,9 +212,13 @@ function redirectMobile() { } } var pageNr = 0; + var lang = ''; if (get.page != undefined) { pageNr = parseInt(get.page); } + if (get.lang != undefined) { + lang = '?lang=' + get.lang; + } if (window.location.hash != '') { var e = window.location.hash.split('/'); var pnr = parseInt(e[1]); @@ -228,7 +232,7 @@ function redirectMobile() { } setTimeout(function () { - window.location = 'm/' + html + page; + window.location = 'm/' + html + lang + page; }, 10); }