Ticket ID: 23319
|
Creation Date: 3/2/2017 8:47 PM
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
TicketType: Support Request
|
Version: 9.3.3836
|
Language: English
|
Views: 31286
|
Last Modification Date: 3/31/2017 7:58 PM
|
Platform:
|
|
Level: Closed
|
|
|
Support Request: accessing SiteKiosk object model from Chrome
I've created a website to run in SiteKiosk that has a custom logout button which invokes SiteKiosk's object model logout method. If I use Internet Explorer, the logout button works great. If I switch SiteKiosk to use the Chrome browser instead, the logout button doesn't work - it seems like the function is never called.
Does Sitekiosk running in Chrome support the logout function, or any of the other object model methods?
For reference, I'm using this code:
// in the javascript attached to the HTML page:
window.external.InitScriptInterface();
function forceLogout() {
SiteKiosk.Logout();
}
//on the logout button
<a onclick="forceLogout()"><span aria-hidden="true" class="fa fa-sign-out"> </span> Logout</a>
I don't see any error messages in the SiteKiosk log. I'm also running the most recent version of SiteKiosk and Chrome on a Windows 10 64-bit computer.
Thank you for any help!