Ticket ID: 18066
|
Erstellungsdatum: 15.06.2012 11:37
|
Produkt: SiteKiosk Classic Windows
|
Anhang: -
|
Tickettyp: Support Anfrage
|
Version: 7.8.332
|
Sprache: Deutsch
|
Aufrufe: 18506
|
Letzte Änderung: 13.07.2012 16:06
|
Plattform:
Windows XP Professional
|
|
Level: Geschlossen
|
IE: 9.8 |
|
Bug Status: Nicht gefixed
|
Benutzerkonto: Administrator
|
Häufigkeit: Bei jedem Start
|
|
Support Anfrage: AttachDispatch Method
Reproduktion
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.