From: Vincent Vanwaelscappel Date: Tue, 30 Jun 2015 14:27:20 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8be09118968af44408f218fd9a7c386bd2efdb5e;p=fluidbook-html5.git --- diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index d66b0a92..98df8b69 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -1314,8 +1314,8 @@ Fluidbook.prototype = { if (types_android[type] != undefined) { this.displayLoader(); setTimeout(function () { - CDV.WEBINTENT.startActivity({ - action: CDV.WEBINTENT.ACTION_VIEW, + window.plugins.webintent.startActivity({ + action: window.plugins.webintent.ACTION_VIEW, type: types_android[type], url: url }, function (args) { @@ -1394,10 +1394,10 @@ Fluidbook.prototype = { if (this.datas.phonegap == 'android') { var extras = {}; - extras[CDV.WEBINTENT.EXTRA_SUBJECT] = subject; + extras[window.plugins.webintent.EXTRA_SUBJECT] = subject; extras[CDV.WEBINTENT.EXTRA_TEXT] = body; - CDV.WEBINTENT.startActivity({ - action: CDV.WEBINTENT.ACTION_SEND, + window.plugins.webintent.startActivity({ + action: window.plugins.webintent.ACTION_SEND, type: 'text/plain', extras: extras }, function (args) {