summaryrefslogtreecommitdiffstats
path: root/apps/files_imageviewer
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-28 04:29:04 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-28 04:29:04 +0200
commitece6bd663cc2a03e339019c29d1ea9170d11c24e (patch)
tree339440b6a0a93a35c6530140d2cf43f80982bb5b /apps/files_imageviewer
parent74249c65da5b21c4b191f9792b510268c4b83454 (diff)
downloadnextcloud-server-ece6bd663cc2a03e339019c29d1ea9170d11c24e.tar.gz
nextcloud-server-ece6bd663cc2a03e339019c29d1ea9170d11c24e.zip
show icons instead of text for file actions
Diffstat (limited to 'apps/files_imageviewer')
-rw-r--r--apps/files_imageviewer/js/lightbox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_imageviewer/js/lightbox.js b/apps/files_imageviewer/js/lightbox.js
index 6e45547ebb4..318c764458e 100644
--- a/apps/files_imageviewer/js/lightbox.js
+++ b/apps/files_imageviewer/js/lightbox.js
@@ -7,7 +7,7 @@ $(document).ready(function() {
$( 'body' ).append(overlay);
var container=$('<div id="lightbox"/>');
$( 'body' ).append(container);
- FileActions.register('image','View',function(filename){
+ FileActions.register('image','View','',function(filename){
var location='ajax/download.php?files='+filename+'&dir='+$('#dir').val();
overlay.show();
if(!images[location]){