From 25e202edebe5d86e8bc3b6aab4c2d4aaf78d9aa2 Mon Sep 17 00:00:00 2001 From: Rolux Date: Tue, 5 Jan 2016 22:49:34 +0530 Subject: [PATCH] fix info view --- static/js/infoView.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/js/infoView.js b/static/js/infoView.js index b85c6b3..5f1fe45 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -522,9 +522,11 @@ oml.ui.infoView = function(identifyData) { clickLink: oml.clickLink, editable: isEditable, format: function(value) { - return key == 'place' - ? formatValue(value.split('; '), key) - : value + return formatValue( + Ox.contains(arrayKeys, key) + ? value.split('; ') : value, + key + ); }, placeholder: formatLight(Ox._('unknown')), tooltip: isEditable ? oml.getEditTooltip() : '',