incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-33) tel links dont work
Date Mon, 06 Feb 2012 20:13:59 GMT


Shazron Abdullah commented on CB-33:

Setting tel links using document.location will not work. The workaround is use this function:

function openInWebView(url)
    var anchor = document.createElement('a');
    anchor.setAttribute('href', url);
    anchor.setAttribute('target', '_self');
     var dispatch = document.createEvent('HTMLEvents')
    dispatch.initEvent('click', true, true);
> tel links dont work
> -------------------
>                 Key: CB-33
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
> reported at:
> possibly this happened since ios5,
> currently i have this plugin which allows me to make tel links,,
but there is still the underlying issue which i think might be because of something phonegap
> a simple phone does nothing and we get an error in the console.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message