Fixes elasticsearch/kibana issue #151

pull/7/head
Marcel de Graaf 12 years ago
parent 050ee74c10
commit 1969057d51
  1. 2
      panels/table/module.js

@ -269,7 +269,7 @@ angular.module('kibana.table', [])
})
.filter('highlight', function() {
return function(text) {
if (text.toString().length > 0 && !_.isUndefined(text) && !_.isNull(text)) {
if (!_.isUndefined(text) && !_.isNull(text) && text.toString().length > 0) {
return text.toString().
replace(/&/g, '&').
replace(/</g, '&lt;').

Loading…
Cancel
Save