transfer panel: fix formatting

This commit is contained in:
rlx 2016-01-17 16:13:13 +05:30
parent 881956b4f4
commit eb2e0a772b

View file

@ -15,9 +15,7 @@ oml.ui.transfersPanel = function() {
'size', 'transferprogress'
], id) ? 'right' : 'left',
format: function(value) {
return Ox.encodeHTMLEntities(
(key.format || Ox.identity)(value)
);
return Ox.encodeHTMLEntities(key.format(value));
},
id: id,
operator: oml.getSortOperator(id),