From fc9906624e24b1e42e47041edb51351e8072a461 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 8 Jul 2017 21:16:52 +0100 Subject: [PATCH] Disable editor whilst a deploy is inflight Fixes #1332 --- editor/js/ui/deploy.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editor/js/ui/deploy.js b/editor/js/ui/deploy.js index 464dd96b2..d610e83b8 100644 --- a/editor/js/ui/deploy.js +++ b/editor/js/ui/deploy.js @@ -361,6 +361,10 @@ RED.deploy = (function() { } deployInflight = true; + $("#header-shade").show(); + $("#editor-shade").show(); + $("#palette-shade").show(); + $("#sidebar-shade").show(); $.ajax({ url:"flows", type: "POST", @@ -424,6 +428,10 @@ RED.deploy = (function() { setTimeout(function() { $(".deploy-button-content").css('opacity',1); $(".deploy-button-spinner").hide(); + $("#header-shade").hide(); + $("#editor-shade").hide(); + $("#palette-shade").hide(); + $("#sidebar-shade").hide(); },delta); }); }