From bba7dd7cdb39612abf4848adbad0cf90ef9b47c2 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 29 May 2013 11:13:22 +0200 Subject: [PATCH] Fix exception in table rendering if the text is null --- panels/table/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/table/module.js b/panels/table/module.js index ffac5446caccb..d8fbbfcb0c752 100644 --- a/panels/table/module.js +++ b/panels/table/module.js @@ -269,7 +269,7 @@ angular.module('kibana.table', []) }) .filter('highlight', function() { return function(text) { - if (text.toString().length) { + if (text != undefined && text.toString().length) { return text.toString(). replace(/&/g, '&'). replace(/