mtien-apache commented on a change in pull request #5559:
URL: https://github.com/apache/nifi/pull/5559#discussion_r759771597
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/propertytable/jquery.propertytable.js
##########
@@ -1763,13 +1771,26 @@
var propertyHistory = history[property];
// format the tooltip
- var tooltip =
nfCommon.formatPropertyTooltip(propertyDescriptor, propertyHistory);
+ var propertyTooltip =
nfCommon.formatPropertyTooltip(propertyDescriptor, propertyHistory);
- if (nfCommon.isDefinedAndNotNull(tooltip)) {
+ if (nfCommon.isDefinedAndNotNull(propertyTooltip)) {
infoIcon.qtip($.extend({},
nfCommon.config.tooltipConfig,
{
- content: tooltip
+ content: propertyTooltip
+ }));
+ }
+ }
+
+ var whitespaceIcon = $(this).find('div.fa-info');
+ if (whitespaceIcon.length && !whitespaceIcon.data('qtip')) {
+ var whitespaceTooltip = nfCommon.formatWhitespaceTooltip();
+
+ if (nfCommon.isDefinedAndNotNull(whitespaceTooltip)) {
+ whitespaceIcon.qtip($.extend({},
Review comment:
@mcgilman good catch! I've updated the `clear` function. Can your review
again? Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]