×
Namespaces

Variants
Actions

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

From Nokia Developer 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 07:39.
60 page views in the last 30 days.
×