| Ticket ID: 18066 |
| TicketType: Bug Report |
| Level: Closed |
| Bug Status: Not Fixed |
| Fixed since: - |
|
| Language: German |
| Creation Date: 6/15/2012 11:37 AM |
| Last Modification Date: 7/13/2012 4:06 PM |
| Platform: Windows XP Professional |
| User account: Administrator |
|
| Product: SiteKiosk |
| Version: 7.8.332 |
| Views: 1510 |
| IE Version: 9.8 |
|
| Attachment: - |
| Created By: covios (User) |
| Modified By: covios (User) |
| Bug Frequency: On every start |
|
Plattform: Windows 7 Professionell 32Bit
Test.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<script>
window.external.InitScriptInterface();
mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
mydialog.Border = true;
mydialog.ScrollBars = true;
mydialog.Sysmenu = true;
mydialog.Title = true;
mydialog.Width = 300;
mydialog.URL = SiteKiosk.SiteKioskDirectory + "skins\\copystation24\\testDialog.html";;
mydialog.AttachDispatch("mydialog", mydialog);
var Ext = new Object();
Ext.FileName = "test";
mydialog.AttachDispatch("Ext", Ext);
mydialog.ShowDialog();
</script>
</body>
</html>
testDialog.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<script>
window.external.InitScriptInterface();
alert (Ext.FileName);
</script>
</body>
</html>
Das Dialog-Fenster wird aufgerufen und im alert wird "undefined" angezeigt. Auch ein Zugriff auf "myDialog" ist nicht möglich.


