From 40aa4982e49449f0ab8dbe2b6650ed7a8ac7e7d4 Mon Sep 17 00:00:00 2001 From: Timo Lehtinen Date: Mon, 15 May 2017 10:25:42 +0300 Subject: [PATCH] When a tooltip isn't desired (setting column-definition to empty string), there will be console error "Text for the tooltip has not been provided. Please include text within the mdTooltip element.". This change will fix it by not including tooltip into DOM when there's no text. --- app/modules/main/templates/mdtGeneratedHeaderCellContent.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/main/templates/mdtGeneratedHeaderCellContent.html b/app/modules/main/templates/mdtGeneratedHeaderCellContent.html index 91e1459..020584c 100644 --- a/app/modules/main/templates/mdtGeneratedHeaderCellContent.html +++ b/app/modules/main/templates/mdtGeneratedHeaderCellContent.html @@ -22,7 +22,7 @@
- {{headerRowData.columnDefinition}} + {{headerRowData.columnDefinition}} @@ -31,7 +31,7 @@
- {{headerRowData.columnDefinition}} + {{headerRowData.columnDefinition}}