From d6fc25848576a88018ae0dd7508ecdcc548dcab5 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sun, 18 Feb 2018 16:43:40 +0000 Subject: [PATCH] Delay clearing inflight when changing credentials key --- editor/js/ui/projects/projectSettings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editor/js/ui/projects/projectSettings.js b/editor/js/ui/projects/projectSettings.js index a1c2a928a..bc882c006 100644 --- a/editor/js/ui/projects/projectSettings.js +++ b/editor/js/ui/projects/projectSettings.js @@ -1024,7 +1024,9 @@ RED.projects.settings = (function() { }, } },payload).always(function() { - RED.deploy.setDeployInflight(false); + setTimeout(function() { + RED.deploy.setDeployInflight(false); + },500); }); }); var updateForm = function() {