only display size of all documents in dialog (not in item view)

This commit is contained in:
rolux 2014-01-18 02:01:26 +00:00
parent b89f3a4637
commit 63a85f03cb

View file

@ -694,7 +694,7 @@ pandora.ui.documentsPanel = function(options) {
init: function(data) { init: function(data) {
$listStatus.html( $listStatus.html(
Ox.toTitleCase(Ox.formatCount(data.items, 'document')) Ox.toTitleCase(Ox.formatCount(data.items, 'document'))
+ ', ' + Ox.formatValue(data.size, 'B') + (isItemView ? '' : ', ' + Ox.formatValue(data.size, 'B'))
); );
}, },
key_escape: function() { key_escape: function() {