Refactoring Play for Run
This commit is contained in:
1 parent
22c8c328fa
commit
a692801e99
2 files changed
+4
-4
No files matched your search
@@ -20,7 +20,7 @@ function newStrategyPart () {
|
||||
isExecuting: undefined,
|
||||
isDefault: undefined,
|
||||
setAsDefault: setAsDefault,
|
||||
play: play,
|
||||
run: run,
|
||||
stop: stop,
|
||||
setDefaultStatus: setDefaultStatus,
|
||||
setNotRunningStatus: setNotRunningStatus,
|
||||
@@ -530,7 +530,7 @@ function newStrategyPart () {
|
||||
}
|
||||
}
|
||||
|
||||
function play () {
|
||||
function run () {
|
||||
if (thisObject.circularProgressBar !== undefined) {
|
||||
thisObject.circularProgressBar.finalize()
|
||||
}
|
||||
|
||||
@@ -15,10 +15,10 @@ function newTaskFunctions () {
|
||||
|
||||
for (let i = 0; i < node.bot.processes.length; i++) {
|
||||
let process = node.bot.processes[i]
|
||||
process.payload.uiObject.play()
|
||||
process.payload.uiObject.run()
|
||||
}
|
||||
|
||||
node.payload.uiObject.play()
|
||||
node.payload.uiObject.run()
|
||||
|
||||
let event = {
|
||||
taskId: node.id,
|
||||
|
||||
Reference in new issue
Block a user