1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Don't reload page on enter in subflow dialog

This commit is contained in:
Nick O'Leary 2015-03-12 17:23:17 +00:00
parent 933608aec1
commit 7bdb3181e2

View File

@ -799,6 +799,8 @@ RED.editor = (function() {
editing_node = null;
}
});
$("#subflow-dialog form" ).submit(function(e) { e.preventDefault();});
function showEditSubflowDialog(subflow) {
editing_node = subflow;