mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Don't collapse version control header when clicking refresh
This commit is contained in:
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
Block a user