Billete ID: 21319
|
Fecha de creación: 22/01/2015 6:49
|
Producto : SiteKiosk Classic Windows
|
Anexo: -
|
BilleteTipo: Soporte de pedidos
|
Versión: 8.9
|
Idioma: Inglés
|
Ver: 24070
|
Fecha de la última modificación: 19/02/2015 10:15
|
Plataforma:
|
|
Nível: Cerrado
|
|
|
Soporte de pedidos: 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?