diff options
Diffstat (limited to 'apps/files_imageviewer/js/lightbox.js')
-rw-r--r-- | apps/files_imageviewer/js/lightbox.js | 2 |
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]){ |