Namespaces
Variants
Actions
Revision as of 07:39, 1 August 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Jump to: navigation, search
Article Metadata

Article
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

79 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved