fix documents dialog status bar text
This commit is contained in:
parent
99bf49fc86
commit
227440ab85
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue