From 4d2f4cec21d02b0a32922913d0301265bedab852 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 2 Oct 2017 13:28:38 +0200 Subject: [PATCH 1/2] load accound after context changed callback --- src/app/tabs/run-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 99ddb0d6d3..daae7b8edd 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -202,9 +202,9 @@ function runTab (container, appAPI, appEvents, opts) { executionContext.executionContextChange(selectExEnv.options[selectExEnv.selectedIndex].value, null, () => { // set the final context. Cause it is possible that this is not the one we've originaly selected selectExEnv.value = executionContext.getProvider() + fillAccountsList(appAPI, el) }) - fillAccountsList(appAPI, el) instanceContainer.innerHTML = '' // clear the instances list noInstancesText.style.display = 'block' instanceContainer.appendChild(noInstancesText) From 1f470d8105d7b2ff1b31cc9332b6ee1598a93b6c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 2 Oct 2017 13:35:47 +0200 Subject: [PATCH 2/2] remove snippet ace editor --- src/app/editor/editor.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/editor/editor.js b/src/app/editor/editor.js index c7edca9e1a..a06d92059f 100644 --- a/src/app/editor/editor.js +++ b/src/app/editor/editor.js @@ -31,7 +31,6 @@ function Editor (opts = {}) { ace.acequire('ace/ext/language_tools') editor.setOptions({ enableBasicAutocompletion: true, - enableSnippets: true, enableLiveAutocompletion: true }) var flowCompleter = {