mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3358 from node-red-hitachi/fix-property-error-tooltip
fix to make start of property error tooltip messages aligned
This commit is contained in:
commit
310a279aaf
@ -596,7 +596,7 @@ RED.view = (function() {
|
|||||||
},
|
},
|
||||||
tooltip: function(d) {
|
tooltip: function(d) {
|
||||||
if (d.validationErrors && d.validationErrors.length > 0) {
|
if (d.validationErrors && d.validationErrors.length > 0) {
|
||||||
return RED._("editor.errors.invalidProperties")+"\n - "+d.validationErrors.join("\n - ")
|
return RED._("editor.errors.invalidProperties")+"\n - "+d.validationErrors.join("\n - ")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
show: function(n) { return !n.valid }
|
show: function(n) { return !n.valid }
|
||||||
|
Loading…
Reference in New Issue
Block a user