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...
Сообщение об ошибке: AttachDispatch Method
Запрос ID: 18066
ЗапросВид статьи: Сообщение об ошибке
Уровень: Закрыто
Состояние ошибки: Не исправлено
Исправлено начиная с: -
Язык: Немецкий
Дата создания: 15.06.2012 11:37
Дата последнего изменения: 13.07.2012 16:06
Платформа: Windows XP Professional
Счет пользователя: Администратор
Продукция: SiteKiosk
Версия: 7.8.332
Просмотров: 1391
IE Версия: 9.8
Вложение: -
Создано: covios (User)
Изменено: covios (User)
Частота ошибки: При каждом запуске
Воспроизведение
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.
Комментарии (3): AttachDispatch Method
Re: AttachDispatch Method PROVISIO\olbrich (Provisio) 15.06.2012 12:22
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) 15.06.2012 14:40
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) 15.06.2012 15:13
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. Все права защищены. О проекте Контакт Устав фирмы Защита персональных данных