Bug 2982 - Telephony - extra popup window in debugger after closing alert
authorEugene Ostroukhov <eugeneo@symbian.org>
Tue, 15 Jun 2010 16:27:54 -0700
changeset 378 d75225f3e1c6
parent 377 5b79a6184333
child 379 dbeaa5e8aa32
Bug 2982 - Telephony - extra popup window in debugger after closing alert
org.symbian.tools.wrttools.previewer/preview/script/lib/widget.js
--- a/org.symbian.tools.wrttools.previewer/preview/script/lib/widget.js	Tue Jun 15 16:17:46 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/script/lib/widget.js	Tue Jun 15 16:27:54 2010 -0700
@@ -54,9 +54,9 @@
 			if (url.substring(0, 4) == "tel:") {
 				var sz = "Number " + url.substring(4) + " was dialed";
 				window.alert(sz);
+			} else {
+				window.open(url, "New Widget Window", 'height=200 width=250');
 			}
-
-			window.open(url, "New Widget Window", 'height=200 width=250');
 		}
 	};