]> _ Git - fluidbook-html5.git/commitdiff
wip #1689
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 27 Sep 2017 10:44:48 +0000 (12:44 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 27 Sep 2017 10:44:48 +0000 (12:44 +0200)
js/libs/fluidbook/fluidbook.js

index f05a43cc6665b6bf8cd5c1ba1fe3d7da7f113190..a37b9993509bb3d62606dc5aa22fc17056364d40 100644 (file)
@@ -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;
             }
         }