Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-07 16:09:40 +0300
committerGitHub <noreply@github.com>2019-11-07 16:09:40 +0300
commitffbbb6ac6055ae2c65dc22da5a3ee73c85a2897f (patch)
treee2e2d76ab88ccdb5a2a7edaecba0fda66b1642e9
parentc56a255dd2b7196525c6765a826589300c8dfcba (diff)
parent8b7cb593cfd7a96746bd3aab087b5464af7185d9 (diff)
Yet another fix for the file list handling (#683)
Yet another fix for the file list handling
-rw-r--r--src/viewer.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/viewer.js b/src/viewer.js
index fed66ab5..5001c604 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -286,7 +286,8 @@ const odfViewer = {
odfViewer.onEdit(filename, {
fileId: -1,
dir: $('#dir').val(),
- templateId: templateId
+ templateId: templateId,
+ fileList: FileList
})
} else {
OC.dialogs.alert(response.data.message, t('core', 'Could not create file'))
@@ -383,7 +384,8 @@ const odfViewer = {
FileList.$fileList.one('updated', function() {
odfViewer.onEdit(Preload.open.filename, {
fileId: Preload.open.id,
- dir: document.getElementById('dir').value
+ dir: document.getElementById('dir').value,
+ fileList: FileList
})
})
}