fix documents dialog status bar text

This commit is contained in:
j 2014-01-05 12:40:54 +00:00
parent 99bf49fc86
commit 227440ab85

View file

@ -3,6 +3,7 @@
'use strict'; 'use strict';
pandora.ui.documentsDialog = function() { pandora.ui.documentsDialog = function() {
var dialogHeight = Math.round((window.innerHeight - 48) * 0.9), var dialogHeight = Math.round((window.innerHeight - 48) * 0.9),
dialogWidth = Math.round(window.innerWidth * 0.9), dialogWidth = Math.round(window.innerWidth * 0.9),
itemWidth = 272 + Ox.UI.SCROLLBAR_SIZE, itemWidth = 272 + Ox.UI.SCROLLBAR_SIZE,
@ -156,7 +157,7 @@ pandora.ui.documentsDialog = function() {
'delete': deleteDocuments, 'delete': deleteDocuments,
init: function(data) { init: function(data) {
$status.html( $status.html(
Ox.toTitleCase(Ox.formatCount(data.items, 'file')) Ox.toTitleCase(Ox.formatCount(data.items, 'document'))
); );
}, },
load: function() { load: function() {