commit
6f9d39fcc3
@ -7,7 +7,7 @@ var documentsSettings = {
|
||||
wopi_url : $('#wopi_url').val().replace(/\/$/, '')
|
||||
};
|
||||
|
||||
OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving…);
|
||||
OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving…'));
|
||||
$.post(
|
||||
OC.filePath('richdocuments', 'ajax', 'admin.php'),
|
||||
data,
|
||||
|
@ -201,7 +201,7 @@ var documentsMain = {
|
||||
documentsMain.UI.revisionsStart += 5;
|
||||
|
||||
if (result.data.endReached) {
|
||||
// Remove 'More versions…utton
|
||||
// Remove 'More versions' button
|
||||
$('#show-more-versions').addClass('hidden');
|
||||
}
|
||||
});
|
||||
@ -213,7 +213,7 @@ var documentsMain = {
|
||||
var revHistoryContainerTemplate = Handlebars.compile(documentsMain.UI.revHistoryContainerTemplate);
|
||||
var revHistoryContainer = revHistoryContainerTemplate({
|
||||
filename: documentsMain.fileName,
|
||||
moreVersionsLabel: t('richdocuments', 'More versions…,
|
||||
moreVersionsLabel: t('richdocuments', 'More versions…'),
|
||||
closeButtonUrl: OC.imagePath('core', 'actions/close')
|
||||
});
|
||||
$('#revViewerContainer').prepend(revHistoryContainer);
|
||||
@ -535,7 +535,7 @@ var documentsMain = {
|
||||
if (documentsMain.isGuest){
|
||||
return;
|
||||
}
|
||||
documentsMain.UI.showProgress(t('richdocuments', 'Loading documents…);
|
||||
documentsMain.UI.showProgress(t('richdocuments', 'Loading documents…'));
|
||||
documentsMain.docs.documentGrid('render', fileId);
|
||||
documentsMain.UI.hideProgress();
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ script('richdocuments', 'documents');
|
||||
?>
|
||||
<div id="documents-content">
|
||||
<ul class="documentslist">
|
||||
<li class="progress icon-loading"><div><?php p($l->t('Loading documents…); ?></div></li>
|
||||
<li class="progress icon-loading"><div><?php p($l->t('Loading documents…')); ?></div></li>
|
||||
<li class="document template" data-id="" style="display:none;">
|
||||
<a target="_blank" href=""><label></label></a>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user