mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	| @@ -928,11 +928,11 @@ RED.projects.settings = (function() { | ||||
|  | ||||
|             saveDisabled = isFlowInvalid || credFileLabelText.text()===""; | ||||
|  | ||||
|             if (credentialSecretExistingInput.is(":visible")) { | ||||
|             if (credentialSecretExistingRow.is(":visible")) { | ||||
|                 credentialSecretExistingInput.toggleClass("input-error", credentialSecretExistingInput.val() === ""); | ||||
|                 saveDisabled = saveDisabled || credentialSecretExistingInput.val() === ""; | ||||
|             } | ||||
|             if (credentialSecretNewInput.is(":visible")) { | ||||
|             if (credentialSecretNewRow.is(":visible")) { | ||||
|                 credentialSecretNewInput.toggleClass("input-error", credentialSecretNewInput.val() === ""); | ||||
|                 saveDisabled = saveDisabled || credentialSecretNewInput.val() === ""; | ||||
|             } | ||||
| @@ -1130,7 +1130,7 @@ RED.projects.settings = (function() { | ||||
|                 } | ||||
|                 if (credentialSecretResetButton.hasClass('selected') || credentialSecretEditButton.hasClass('selected')) { | ||||
|                     payload.credentialSecret = credentialSecretNewInput.val(); | ||||
|                     if (credentialSecretExistingInput.is(":visible")) { | ||||
|                     if (credentialSecretExistingRow.is(":visible")) { | ||||
|                         payload.currentCredentialSecret = credentialSecretExistingInput.val(); | ||||
|                     } | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user