Revert "Replace 3 dots to ellisis in l10n files" partially
This reverts commit c6a3e02b4b7af75341c573340ef11baef8bee39d partially. Presumably, some unwanted modifications also found its way in with above patch breaking the app. Revert problematic pieces.
This commit is contained in:
parent
c6a3e02b4b
commit
7d502a3135
@ -7,7 +7,7 @@ var documentsSettings = {
|
|||||||
wopi_url : $('#wopi_url').val().replace(/\/$/, '')
|
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(
|
$.post(
|
||||||
OC.filePath('richdocuments', 'ajax', 'admin.php'),
|
OC.filePath('richdocuments', 'ajax', 'admin.php'),
|
||||||
data,
|
data,
|
||||||
|
@ -201,7 +201,7 @@ var documentsMain = {
|
|||||||
documentsMain.UI.revisionsStart += 5;
|
documentsMain.UI.revisionsStart += 5;
|
||||||
|
|
||||||
if (result.data.endReached) {
|
if (result.data.endReached) {
|
||||||
// Remove 'More versions…utton
|
// Remove 'More versions' button
|
||||||
$('#show-more-versions').addClass('hidden');
|
$('#show-more-versions').addClass('hidden');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -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);
|
||||||
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ script('richdocuments', 'documents');
|
|||||||
?>
|
?>
|
||||||
<div id="documents-content">
|
<div id="documents-content">
|
||||||
<ul class="documentslist">
|
<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;">
|
<li class="document template" data-id="" style="display:none;">
|
||||||
<a target="_blank" href=""><label></label></a>
|
<a target="_blank" href=""><label></label></a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user