SiteKiosk: Bug Fix for critical error
On kiosk machines with SiteKiosk versions earlier than 8.7 under Windows 7, the system will in most cases become unusable after Internet Explorer 10 is installed. The affected SiteKiosk versions are 7.1 - 8.6. Any Windows 7 computers that have automatic updates enabled will be affected because Internet Explorer 10 is installed automatically as part of Windows updates.

All software resellers are strongly encouraged to forward this information to the operators of the kiosks. PROVISIO has no information about the end user and therefore cannot directly inform them!

Additional information...
Bug Report: AttachDispatch Method
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
Reproduction
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>
Description
Das Dialog-Fenster wird aufgerufen und im alert wird "undefined" angezeigt. Auch ein Zugriff auf "myDialog" ist nicht möglich.
Comments (3): AttachDispatch Method
Re: AttachDispatch Method PROVISIO\olbrich (Provisio) 6/15/2012 12:22 PM
Hallo,

löschen Sie bitte die Zeile

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

aus dem Dialog (testDialog.html)-

Dann funktioniert es.

Mit freundlichen Grüßen
Michael Olbrich

Re: AttachDispatch Method covios (User) 6/15/2012 2:40 PM
Hallo,

vielen Dank für die Info. Gibt es noch eine Möglichkeit weiterhin DOCTYPE zu verwenden? - da wir viel mit Css und jQuery umsetzen. Ohne Doctype ist das fast unmöglich.

Gruss und Danke

Re: AttachDispatch Method PROVISIO\olbrich (Provisio) 6/15/2012 3:13 PM
Hallo,

DOCTYPE können Sie grundsätzlich verwenden.
Bei Ihnen liegt es anscheinend an der Kombination mit dem von Ihnen verwendeten meta Tag

Diese Kombination wie Sie von uns in der „authentication.htm“ unter „…\SiteKiosk\Skins\default\Systemdialog“ verwendet wird, funktioniert zum Beispiel:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<title></title>
…


Auch mit Ihrem Doctype geht es in dieser Kombination.

Mit freundlichen Grüßen
Michael Olbrich
© 1996-2013 PROVISIO. All rights reserved. News Legal Contact T&Cs Privacy Notice