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

Revalidate all config node users after edit

This commit is contained in:
Nick O'Leary 2015-03-19 10:49:56 +00:00
parent f0139f9808
commit 5c58b0c2f4

View File

@ -659,6 +659,10 @@ RED.editor = (function() {
configTypeDef.oneditsave.call(RED.nodes.node(configId)); configTypeDef.oneditsave.call(RED.nodes.node(configId));
} }
validateNode(configNode); validateNode(configNode);
for (var i=0;i<configNode.users.length;i++) {
var user = configNode.users[i];
validateNode(user);
}
RED.nodes.dirty(true); RED.nodes.dirty(true);
$(this).dialog("close"); $(this).dialog("close");