mirror of
https://github.com/apache/nifi.git
synced 2025-02-27 14:09:52 +00:00
NIFI-565:
- Ensuring tooltips are properly disposed. Without proper cleanup the bulletins were not being initialized correctly, when new bulletins would arise. - Increasing the max width of tooltips.
This commit is contained in:
parent
e767f5ce02
commit
a896510d7f
@ -115,6 +115,7 @@ div.nifi-tooltip {
|
||||
border: 1px solid #454545;
|
||||
background-color: #FFFFA3;
|
||||
color: #454545;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
|
@ -811,7 +811,7 @@ nf.Canvas = (function () {
|
||||
// bulletins for this processor are now gone
|
||||
if (bulletins.length === 0) {
|
||||
if (bulletinIcon.data('qtip')) {
|
||||
bulletinIcon.removeClass('has-bulletins').qtip('destroy');
|
||||
bulletinIcon.removeClass('has-bulletins').qtip('api').destroy(true);
|
||||
}
|
||||
|
||||
// hide the icon
|
||||
|
@ -264,7 +264,7 @@ nf.ControllerService = (function () {
|
||||
}, nf.CanvasUtils.config.systemTooltipConfig));
|
||||
}
|
||||
} else if (icon.data('qtip')) {
|
||||
icon.qtip('destroy');
|
||||
icon.qtip('api').destroy(true);
|
||||
}
|
||||
return state;
|
||||
});
|
||||
@ -294,7 +294,7 @@ nf.ControllerService = (function () {
|
||||
}, nf.CanvasUtils.config.systemTooltipConfig));
|
||||
}
|
||||
} else if (icon.data('qtip')) {
|
||||
icon.qtip('destroy');
|
||||
icon.qtip('api').destroy(true);
|
||||
}
|
||||
return state;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user