mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
34364f5627
commit
e013afb053
@ -257,7 +257,7 @@ RED.editor = (function() {
|
|||||||
id: "node-dialog-cancel",
|
id: "node-dialog-cancel",
|
||||||
text: "Cancel",
|
text: "Cancel",
|
||||||
click: function() {
|
click: function() {
|
||||||
if (editing_node._def) {
|
if (editing_node && editing_node._def) {
|
||||||
if (editing_node._def.oneditcancel) {
|
if (editing_node._def.oneditcancel) {
|
||||||
editing_node._def.oneditcancel.call(editing_node);
|
editing_node._def.oneditcancel.call(editing_node);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user