Ticket ID: 16854
|
Erstellungsdatum: 28.07.2011 19:09
|
Produkt: SiteKiosk Classic Windows
|
Anhang: -
|
Tickettyp: Support Anfrage
|
Version: 7.8.328
|
Sprache: Englisch
|
Aufrufe: 30289
|
Letzte Änderung: 29.08.2011 10:07
|
Plattform:
Windows XP Home
|
|
Level: Geschlossen
|
IE: 8.0 |
|
Bug Status: Nicht gefixed
|
Benutzerkonto: Administrator
|
Häufigkeit: Ungefähr einmal pro Stunde
|
|
Support Anfrage: connection dropping between card reader and kiosk
Reproduktion
this is running on Window 7 home
The javascript code where the function call is from index.php in the kiosk directory:
<!-- Site Kiosk -->
<script type="text/javascript">
window.external.InitScriptInterface(document);
creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
creditcard.OnCardSwiped = OnCardSwiped; function setFocus() { document.getElementById("target").focus();
}
function OnCardSwiped(ccardinfo) {
document.getnumber.name_first.value = ccardinfo.FirstName;
document.getnumber.name_last.value = ccardinfo.LastName;
//alert(ccardinfo);
}
</script>
From what I understand, the
"window.external.InitScriptInterface(document)" call is what enables the SiteKiosk functions to be run from within a browser. But apparently the browser is not recognizing it after the first or second scan after reinitializing the kiosk as Sherry has done.
Screen shot is attached.