mirror of
https://github.com/AleziaKurdis/Overte-community-apps.git
synced 2025-04-11 12:11:58 +02:00
Add files via upload
This commit is contained in:
parent
8e7d0859cd
commit
5a4e76c9fd
2 changed files with 3 additions and 2 deletions
|
@ -63,7 +63,7 @@
|
|||
|
||||
function sendRunningScriptList(){
|
||||
var currentlyRunningScripts = ScriptDiscoveryService.getRunning();
|
||||
tablet.emitScriptEvent(currentlyRunningScripts);
|
||||
tablet.emitScriptEvent(JSON.stringify(currentlyRunningScripts));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
var currentlyRunningScripts = {};
|
||||
|
||||
EventBridge.scriptEventReceived.connect(function(message){
|
||||
currentlyRunningScripts = message;
|
||||
currentlyRunningScripts = JSON.parse(message);
|
||||
alert(JSON.stringify(currentlyRunningScripts));
|
||||
//update the buttons
|
||||
buttonList.forEach(function(item){
|
||||
var btn = "";
|
||||
|
|
Loading…
Reference in a new issue