fix issues in infoView
This commit is contained in:
parent
a350831792
commit
6df4d540a3
1 changed files with 4 additions and 2 deletions
|
@ -519,9 +519,11 @@ oml.ui.infoView = function(identifyData) {
|
||||||
clickLink: oml.clickLink,
|
clickLink: oml.clickLink,
|
||||||
editable: isEditable,
|
editable: isEditable,
|
||||||
format: function(value) {
|
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() : '',
|
tooltip: isEditable ? oml.getEditTooltip() : '',
|
||||||
value: key == 'place'
|
value: key == 'place'
|
||||||
? (data[key] ? data[key].join('; ') : [''])
|
? (data[key] ? data[key].join('; ') : [''])
|
||||||
|
|
Loading…
Reference in a new issue