mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix file information action
This commit is contained in:
parent
5c135604d2
commit
ad070b221c
@ -1513,7 +1513,8 @@ var et2_link_list = et2_link_string.extend(
|
||||
var link_data = self.context.data;
|
||||
if(link_data.app == 'file')
|
||||
{
|
||||
var url = self.egw().mime_open(link_data);
|
||||
// File info is always the same
|
||||
var url = '/apps/'+link_data.app2+'/'+link_data.id2+'/'+decodeURIComponent(link_data.id);
|
||||
if(typeof url == 'string' && url.indexOf('webdav.php'))
|
||||
{
|
||||
// URL is url to file in webdav, so get rid of that part
|
||||
|
Loading…
Reference in New Issue
Block a user