Skip to content

Commit 749327d

Browse files
committed
fix non-string tooltips
1 parent a484a8e commit 749327d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

aggrid/datasettable/datasettable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,6 +2288,7 @@ function($sabloApplication, $sabloConstants, $log, $formatterUtils, $injector, $
22882288
};
22892289

22902290
HtmlTooltip.prototype.unescape = function(s) {
2291+
s = String(s);
22912292
var re = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g;
22922293
var unescaped = {
22932294
'&': '&',

aggrid/groupingtable/groupingtable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3189,6 +3189,7 @@ angular.module('aggridGroupingtable', ['webSocketModule', 'servoy']).directive('
31893189
};
31903190

31913191
HtmlTooltip.prototype.unescape = function(s) {
3192+
s = String(s);
31923193
var re = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g;
31933194
var unescaped = {
31943195
'&': '&',

0 commit comments

Comments
 (0)