various script fixes, including for electron

This commit is contained in:
azivner
2018-01-30 22:44:46 -05:00
parent 72bd2507fe
commit 8249a81c77
6 changed files with 13 additions and 11 deletions

View File

@@ -36,7 +36,9 @@ const server = (function() {
script = script.toString();
}
return await post('script/exec/noteId', { script: script, params: params });
const ret = await post('script/exec', { script: script, params: params });
return ret.executionResult;
}
let i = 1;