From 96a0a9d2d21dbe88edae0bab341461576bfd9256 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 27 Aug 2014 22:06:45 +0100 Subject: [PATCH] Update credential in edit form when left unchanged Related to #355 --- public/red/ui/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index bffafa179..929b15cb2 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -398,8 +398,8 @@ RED.editor = (function() { changed = true; } + node.credentials[cred] = value; if (value != node.credentials._[cred]) { - node.credentials[cred] = value; changed = true; } }