From b91560f79c9863a9b5c63ba32f57c67bfc259417 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 4 Jan 2017 14:42:17 +0100 Subject: [PATCH] Fix collab editor fails to open files with spaces in their names --- api/js/etemplate/expose.js | 2 +- filemanager/js/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/expose.js b/api/js/etemplate/expose.js index 152a245de5..0bf9d7d835 100644 --- a/api/js/etemplate/expose.js +++ b/api/js/etemplate/expose.js @@ -628,7 +628,7 @@ function expose (widget) { egw.open_link(egw.link('/index.php', { menuaction: 'filemanager.filemanager_ui.editor', - path: _value.download_url + path: decodeURIComponent(_value.download_url) }), '', egw.link_get_registry('filemanager','view_popup')); } }); diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 206ae74c7d..f35fecc82c 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -769,7 +769,7 @@ app.classes.filemanager = AppJS.extend( { egw.open_link(egw.link('/index.php', { menuaction: 'filemanager.filemanager_ui.editor', - path: data.data.download_url + path: decodeURIComponent(data.data.download_url) }), '', egw.link_get_registry('filemanager','view_popup')); } else