Stop some ui elements from clearing url anchor when clicked

This commit is contained in:
Nick O'Leary
2017-03-06 15:30:42 +00:00
parent 7698990e37
commit 1ff23ebfd9
2 changed files with 5 additions and 1 deletions

View File

@@ -88,7 +88,10 @@ RED.deploy = (function() {
'</span></li>').prependTo(".header-toolbar");
}
$('#btn-deploy').click(function() { save(); });
$('#btn-deploy').click(function(event) {
event.preventDefault();
save();
});
RED.actions.add("core:deploy-flows",save);