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' 'size', 'transferprogress'
], id) ? 'right' : 'left', ], id) ? 'right' : 'left',
format: function(value) { format: function(value) {
return Ox.encodeHTMLEntities( return Ox.encodeHTMLEntities(key.format(value));
(key.format || Ox.identity)(value)
);
}, },
id: id, id: id,
operator: oml.getSortOperator(id), operator: oml.getSortOperator(id),