Ticket ID: 21319
|
Creation Date: 1/22/2015 6:49 AM
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
TicketType: Support Request
|
Version: 8.9
|
Language: English
|
Views: 23907
|
Last Modification Date: 2/19/2015 10:15 AM
|
Platform:
|
|
Level: Closed
|
|
|
Support Request: SiteKiosk Javascript object with Angular.
I have AngularJS based application in site kiosk I try to make some features in particular shutdown. I want to use
SiteKiosk.shutdownWindows()
. But here is the problem I have.
$timeout(function(){
if(angular.isUndefined($window.external.InitScriptInterface)) {
toaster.pop('success', 'SiteKiosk', 'Cannot find init script', 10000);
return;
}
toaster.pop('success', 'SiteKiosk', $window.external.InitScriptInterface.toString(), 10000);
}, 0);
I always get error "Cannot find init script". I cannot initialize and access SiteKiosk object. In Configuration access/security I added
http://127.0.0.1/*
http://127.0.0.1
http://localhost
Do I miss anything?