Update documents.js

Changed "..." to ellipsis
pull/79/head
rakekniven 7 years ago committed by GitHub
parent 8a02997a76
commit 3c35d287b0

@ -213,7 +213,7 @@ var documentsMain = {
var revHistoryContainerTemplate = Handlebars.compile(documentsMain.UI.revHistoryContainerTemplate); var revHistoryContainerTemplate = Handlebars.compile(documentsMain.UI.revHistoryContainerTemplate);
var revHistoryContainer = revHistoryContainerTemplate({ var revHistoryContainer = revHistoryContainerTemplate({
filename: documentsMain.fileName, filename: documentsMain.fileName,
moreVersionsLabel: t('richdocuments', 'More versions...'), moreVersionsLabel: t('richdocuments', 'More versions'),
closeButtonUrl: OC.imagePath('core', 'actions/close') closeButtonUrl: OC.imagePath('core', 'actions/close')
}); });
$('#revViewerContainer').prepend(revHistoryContainer); $('#revViewerContainer').prepend(revHistoryContainer);
@ -292,7 +292,7 @@ var documentsMain = {
if (!documentsMain.renderComplete) { if (!documentsMain.renderComplete) {
setTimeout(function() { documentsMain.UI.showEditor(title, action); }, 500); setTimeout(function() { documentsMain.UI.showEditor(title, action); }, 500);
console.log('Waiting for page to render ...'); console.log('Waiting for page to render');
return; return;
} }
parent.postMessage('loading', '*'); parent.postMessage('loading', '*');
@ -535,7 +535,7 @@ var documentsMain = {
if (documentsMain.isGuest){ if (documentsMain.isGuest){
return; return;
} }
documentsMain.UI.showProgress(t('richdocuments', 'Loading documents...')); documentsMain.UI.showProgress(t('richdocuments', 'Loading documents'));
documentsMain.docs.documentGrid('render', fileId); documentsMain.docs.documentGrid('render', fileId);
documentsMain.UI.hideProgress(); documentsMain.UI.hideProgress();
} }

Loading…
Cancel
Save