NIFI-861:

- Addressing issue with blank processor names when attempting to generate ellipsis on the canvas.
This commit is contained in:
Matt Gilman 2015-08-17 15:23:36 -04:00
parent 740b09b182
commit ffa7ceb2b1
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ nf.CanvasUtils = (function () {
selection.text(text);
// see if the field is too big for the field
if (node.getSubStringLength(0, text.length - 1) > width) {
if (text.length > 0 && node.getSubStringLength(0, text.length - 1) > width) {
// make some room for the ellipsis
width -= 5;