mirror of
https://github.com/overte-org/community-apps.git
synced 2025-04-07 02:22:35 +02:00
Add files via upload
This commit is contained in:
parent
e4de698e5f
commit
ad4abd5d54
2 changed files with 7 additions and 5 deletions
|
@ -41,11 +41,11 @@
|
|||
|
||||
tablet.webEventReceived.connect(onMoreAppWebEventReceived);
|
||||
tablet.screenChanged.connect(onMoreAppScreenChanged);
|
||||
|
||||
/*
|
||||
Script.setTimeout(function() {
|
||||
sendRunningScriptList();
|
||||
}, 2000);
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
@ -71,8 +71,10 @@
|
|||
|
||||
if(typeof eventz === "string"){
|
||||
eventzget = JSON.parse(eventz);
|
||||
|
||||
|
||||
|
||||
print("EVENT ACTION: " + eventzget.action);
|
||||
print("EVENT SCRIPT: " + eventzget.script);
|
||||
|
||||
if(eventzget.action === "installScript"){
|
||||
ScriptDiscoveryService.loadOneScript(eventzget.script);
|
||||
sendRunningScriptList();
|
||||
|
|
|
@ -297,7 +297,7 @@
|
|||
var btn = "";
|
||||
var absoluteJsFile = rootPath + item.jsfile;
|
||||
|
||||
var btn = "";//"<button class='install' onclick = 'uninstall(absoluteJsFile, window.btoa(item.name));'>Install</button>";
|
||||
var btn = "<button class='install' onclick = 'uninstall(absoluteJsFile, window.btoa(item.name));'>Install</button>";
|
||||
var btndata = {
|
||||
"url": absoluteJsFile,
|
||||
"id": window.btoa(item.name)
|
||||
|
|
Loading…
Reference in a new issue