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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgoligo <ich@malte.de>2020-11-14 00:59:22 +0300
committerMalte Wedel <ich@malte.de>2020-11-14 01:16:08 +0300
commit8817940a71de56a6b89a2dc86ca2d3cc17b2cbc7 (patch)
tree05c8381f0b357c8d1cc3ab279722396d93a0feba /src
parent5c4ba5af7140eda792a0d3b57e6a7d324ac30a05 (diff)
Also register to urlChanged event to update RichWorkspace
Signed-off-by: Malte Wedel <ich@malte.de>
Diffstat (limited to 'src')
-rw-r--r--src/helpers/files.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/files.js b/src/helpers/files.js
index 0494ade03..205e26bc1 100644
--- a/src/helpers/files.js
+++ b/src/helpers/files.js
@@ -160,6 +160,9 @@ const FilesWorkspacePlugin = {
},
}).$mount(this.el)
+ fileList.$el.on('urlChanged', data => {
+ vm.path = data.dir.toString()
+ })
fileList.$el.on('changeDirectory', data => {
vm.path = data.dir.toString()
})