mirror of https://github.com/node-red/node-red.git
Fix #3939, red border red-ui-typedInput-container
parent
14c362d4ba
commit
0b663abe50
|
@ -238,6 +238,7 @@ RED.editor = (function() {
|
|||
var valid = validateNodeProperty(node, defaults, property,value);
|
||||
if (((typeof valid) === "string") || !valid) {
|
||||
input.addClass("input-error");
|
||||
input.next(".red-ui-typedInput-container").addClass("input-error");
|
||||
if ((typeof valid) === "string") {
|
||||
var tooltip = input.data("tooltip");
|
||||
if (tooltip) {
|
||||
|
@ -250,6 +251,7 @@ RED.editor = (function() {
|
|||
}
|
||||
} else {
|
||||
input.removeClass("input-error");
|
||||
input.next(".red-ui-typedInput-container").removeClass("input-error");
|
||||
var tooltip = input.data("tooltip");
|
||||
if (tooltip) {
|
||||
input.data("tooltip", null);
|
||||
|
|
Loading…
Reference in New Issue