mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix collab editor fails to open files with spaces in their names
This commit is contained in:
parent
fdad5d0fcf
commit
b91560f79c
@ -628,7 +628,7 @@ function expose (widget)
|
|||||||
{
|
{
|
||||||
egw.open_link(egw.link('/index.php', {
|
egw.open_link(egw.link('/index.php', {
|
||||||
menuaction: 'filemanager.filemanager_ui.editor',
|
menuaction: 'filemanager.filemanager_ui.editor',
|
||||||
path: _value.download_url
|
path: decodeURIComponent(_value.download_url)
|
||||||
}), '', egw.link_get_registry('filemanager','view_popup'));
|
}), '', egw.link_get_registry('filemanager','view_popup'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -769,7 +769,7 @@ app.classes.filemanager = AppJS.extend(
|
|||||||
{
|
{
|
||||||
egw.open_link(egw.link('/index.php', {
|
egw.open_link(egw.link('/index.php', {
|
||||||
menuaction: 'filemanager.filemanager_ui.editor',
|
menuaction: 'filemanager.filemanager_ui.editor',
|
||||||
path: data.data.download_url
|
path: decodeURIComponent(data.data.download_url)
|
||||||
}), '', egw.link_get_registry('filemanager','view_popup'));
|
}), '', egw.link_get_registry('filemanager','view_popup'));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user