From 02824cabfed9ff13501858e1bb674f027526858f Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Date: Fri, 12 Aug 2011 11:55:11 +0200
Subject: [PATCH] removed downloading as fallback action when file type can not
 be opened

---
 files/js/fileactions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index 744ffd8cfe..1ba265142b 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -128,7 +128,7 @@ FileActions.register('all','Rename',OC.imagePath('core','actions/rename'),functi
 	FileList.rename(filename);
 });
 
-FileActions.setDefault('all','Download');
+//FileActions.setDefault('all','Download');
 
 FileActions.register('dir','Open','',function(filename){
 	window.location='index.php?dir='+$('#dir').val()+'/'+filename;
-- 
GitLab