Bug - 3rd edition - javascript fails after choosing a tel link then cancelling the call
Article Metadata
| 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


(no comments yet)