From acc633b4b69ebe20ce597b289823d464622edd4c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 21 Jan 2019 10:06:02 +0000 Subject: [PATCH] Don't collapse version control header when clicking refresh --- .../editor-client/src/js/ui/projects/tab-versionControl.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/projects/tab-versionControl.js b/packages/node_modules/@node-red/editor-client/src/js/ui/projects/tab-versionControl.js index 78594fa0a..33b02ef27 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/projects/tab-versionControl.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/projects/tab-versionControl.js @@ -326,6 +326,7 @@ RED.sidebar.versionControl = (function() { .appendTo(bg) .click(function(evt) { evt.preventDefault(); + evt.stopPropagation(); refresh(true); }); RED.popover.tooltip(refreshButton,RED._("sidebar.project.versionControl.refreshChanges")); @@ -559,6 +560,7 @@ RED.sidebar.versionControl = (function() { .appendTo(bg) .click(function(evt) { evt.preventDefault(); + evt.stopPropagation(); refresh(true,true); }) RED.popover.tooltip(refreshButton,RED._("sidebar.project.versionControl.refreshCommitHistory"))