From 0c91565dfbe18a5f74bc9dfe98aeb486000a271b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 22 Apr 2015 14:58:53 +0000 Subject: [PATCH] Only egw-data with no download_url should not get the click handler --- etemplate/js/et2_widget_link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_link.js b/etemplate/js/et2_widget_link.js index ce0b1fc01a..ed5ed5175f 100644 --- a/etemplate/js/et2_widget_link.js +++ b/etemplate/js/et2_widget_link.js @@ -1751,7 +1751,7 @@ var et2_link_list = et2_link_string.extend( .text(_link_data[columns[i]] ? _link_data[columns[i]]+"" : ""); //Bind the click handler if there is download_url - if (_link_data && typeof _link_data.download_url != 'undefined') + if (_link_data && (typeof _link_data.download_url != 'undefined' || _link_data.app !='egw-data')) { $td.click( function(){ // Check if the link entry is mime with media type, in order to open it in expose view