Ticket ID: 21319
|
Creation Date: 22/01/2015 06:49
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
TicketType: Support Request
|
Version: 8.9
|
Language: English
|
Views: 24052
|
Last Modification Date: 19/02/2015 10:15
|
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?