From: Vincent Vanwaelscappel Date: Wed, 27 Sep 2017 10:44:48 +0000 (+0200) Subject: wip #1689 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7ebb0e8c814b3b1bf9c636a1c758da628314963d;p=fluidbook-html5.git wip #1689 --- diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index f05a43cc..a37b9993 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -842,20 +842,20 @@ Fluidbook.prototype = { if (this.datas.phonegap == 'ios') { this.displayLoader(); if (types_ios[type] != undefined) { - var offset = $(e).offset(); - offset.left += ($(e).width() / 2); - offset.top += ($(e).height()); - try { + // var offset = $(e).offset(); + // offset.left += ($(e).width() / 2); + // offset.top += ($(e).height()); + /*try { ExternalFileUtil.openWith(url, types_ios[type], function () { $this.hideLoader(); }, function () { $this.wopen(url, "_blank", 'location=no'); $this.hideLoader(); }, offset); - } catch (err) { - $this.wopen(url, "_blank", 'location=no'); - $this.hideLoader(); - } + } catch (err) {*/ + $this.wopen(url, "_blank", 'location=no'); + $this.hideLoader(); + //} return true; } }