mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
528db67c34
commit
3d8d6953ec
@ -650,11 +650,11 @@ RED.sidebar.versionControl = (function() {
|
|||||||
// done(error,null);
|
// done(error,null);
|
||||||
},
|
},
|
||||||
200: function(data) {
|
200: function(data) {
|
||||||
RED.projects.refresh(function() {
|
// Changing branch will trigger a runtime event
|
||||||
|
// that leads to a project refresh.
|
||||||
closeBranchBox(function() {
|
closeBranchBox(function() {
|
||||||
spinner.remove();
|
spinner.remove();
|
||||||
});
|
});
|
||||||
});
|
|
||||||
},
|
},
|
||||||
400: {
|
400: {
|
||||||
'git_local_overwrite': function(error) {
|
'git_local_overwrite': function(error) {
|
||||||
@ -672,7 +672,9 @@ RED.sidebar.versionControl = (function() {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},body).always(function(){
|
},body).always(function(){
|
||||||
|
setTimeout(function() {
|
||||||
RED.deploy.setDeployInflight(false);
|
RED.deploy.setDeployInflight(false);
|
||||||
|
},500);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user