From 6df4d540a3b600d7cbfab39e4368d123dac3527c Mon Sep 17 00:00:00 2001 From: Rolux Date: Tue, 5 Jan 2016 13:16:17 +0530 Subject: [PATCH] fix issues in infoView --- static/js/infoView.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/infoView.js b/static/js/infoView.js index 03a8b3f..066221d 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -519,9 +519,11 @@ oml.ui.infoView = function(identifyData) { clickLink: oml.clickLink, editable: isEditable, format: function(value) { - return formatValue(value.split('; '), key) + return key == 'place' + ? formatValue(value.split('; '), key) + : value }, - placeholder: formatLight('unknown'), + placeholder: formatLight(Ox._('unknown')), tooltip: isEditable ? oml.getEditTooltip() : '', value: key == 'place' ? (data[key] ? data[key].join('; ') : [''])