mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 21:42:31 +02:00
Do not cache newly installed scripts in the more app.
This commit is contained in:
parent
71358c21bf
commit
35da6721ea
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,8 @@
|
|||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
//
|
||||
|
||||
(function() {
|
||||
var ROOT = Script.resolvePath('').split("app-more.js")[0];
|
||||
var APP_NAME = "MORE...";
|
||||
|
@ -68,8 +69,7 @@
|
|||
|
||||
if (instruction.action === "installScript") {
|
||||
if (lastProcessing.action !== instruction.action || lastProcessing.script !== instruction.script) {
|
||||
ScriptDiscoveryService.loadOneScript(instruction.script);
|
||||
lastProcessing.action = instruction.action;
|
||||
ScriptDiscoveryService.loadScript(instruction.script, true, false, false, true, false); // Force reload the script, do not use cache. lastProcessing.action = instruction.action;
|
||||
lastProcessing.script = instruction.script;
|
||||
Script.setTimeout(function() {
|
||||
sendRunningScriptList();
|
||||
|
|
Loading…
Reference in a new issue