From ad070b221ce854a49c683d070ec50fd81fcb4921 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 25 Mar 2015 21:19:59 +0000 Subject: [PATCH] Fix file information action --- etemplate/js/et2_widget_link.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_link.js b/etemplate/js/et2_widget_link.js index 217dea338d..df645c5a39 100644 --- a/etemplate/js/et2_widget_link.js +++ b/etemplate/js/et2_widget_link.js @@ -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