fix info view

This commit is contained in:
Rolux 2016-01-05 22:49:34 +05:30
parent 6459e7975a
commit 25e202edeb

View file

@ -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() : '',