Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Bug - 3rd edition - javascript fails after choosing a tel link then cancelling the call

From Wiki
Jump to: navigation, search
Article Metadata
CompatibilityArticle
Created: User:Jesse Hill (09 Jul 2009)
Last edited: hamishwillee (01 Aug 2012)

KB Developer.gif

ID Unofficial - No ID assigned Creation date 2009-07-09
Platform S60 3rd Edition Devices E66
Category   Subcategory  

Contents

Overview

Javscript fails after cancelling a phone call.

Description

On 3rd edition devices, if I go to a web page that includes "tel" links, click a "tel" link and then choose to cancel when prompted to make a call, javascript no longer works on the web page.


How to reproduce

Load the page:

<html> <body> <a href="#" onclick="setTimeout('alert(\'Timeout!\')', 10000)">Set Timeout</a>
<a href="#" onclick="alert('Javascript!'); return false;">Show Alert</a>
<a href="tel:+358443521523">Call</a> </body> </html>

On a 3rd edition browser.

The behavior I see is that, before clicking the "Call" link and cancelling, both the setTimeout() link and the plain alert() link work. If I click the setTimeout link before doing the call/cancel, then I will see the expected dialog. However after clicking the call link and choosing cancel, I can no longer get the dialog either from the plain alert link or from clicking the setTimeout() link a second time.


Solution

Reference

REMEMBER TO CHANGE THE CATEGORY

This page was last modified on 1 August 2012, at 04:39.
214 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×