mirror of https://github.com/node-red/node-red.git
Don't collapse version control header when clicking refresh
parent
7a6e1fe566
commit
acc633b4b6
|
@ -326,6 +326,7 @@ RED.sidebar.versionControl = (function() {
|
||||||
.appendTo(bg)
|
.appendTo(bg)
|
||||||
.click(function(evt) {
|
.click(function(evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
|
evt.stopPropagation();
|
||||||
refresh(true);
|
refresh(true);
|
||||||
});
|
});
|
||||||
RED.popover.tooltip(refreshButton,RED._("sidebar.project.versionControl.refreshChanges"));
|
RED.popover.tooltip(refreshButton,RED._("sidebar.project.versionControl.refreshChanges"));
|
||||||
|
@ -559,6 +560,7 @@ RED.sidebar.versionControl = (function() {
|
||||||
.appendTo(bg)
|
.appendTo(bg)
|
||||||
.click(function(evt) {
|
.click(function(evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
|
evt.stopPropagation();
|
||||||
refresh(true,true);
|
refresh(true,true);
|
||||||
})
|
})
|
||||||
RED.popover.tooltip(refreshButton,RED._("sidebar.project.versionControl.refreshCommitHistory"))
|
RED.popover.tooltip(refreshButton,RED._("sidebar.project.versionControl.refreshCommitHistory"))
|
||||||
|
|
Loading…
Reference in New Issue