Fix mime handler for sharing

This commit is contained in:
Hadi Nategh 2017-11-07 10:49:24 +01:00
parent 6152fc4633
commit fe583421df
2 changed files with 3 additions and 2 deletions

View File

@ -415,7 +415,8 @@ function expose (widget)
{ {
egw.open_link(egw.link('/index.php', { egw.open_link(egw.link('/index.php', {
menuaction: fe.edit.menuaction, menuaction: fe.edit.menuaction,
path: _value.path path: _value.path,
cd: 'no' // needed to not reload framework in sharing
}), '', fe.edit_popup); }), '', fe.edit_popup);
} }
} }

View File

@ -311,7 +311,7 @@ class filemanager_hooks
); );
foreach ($implemented as $app) foreach ($implemented as $app)
{ {
if (($l = Api\Hooks::process('filemanager-editor-link')) && $l[$app]) if (($l = Api\Hooks::process('filemanager-editor-link','collabora', true)) && $l[$app])
{ {
$link = $l[$app]; $link = $l[$app];
} }