|
|
@ -25,7 +25,7 @@ function viewImage(dir, file) { |
|
|
|
var location=OC.filePath('files','ajax','download.php')+'?files='+file+'&dir='+dir; |
|
|
|
var location=OC.filePath('files','ajax','download.php')+'?files='+file+'&dir='+dir; |
|
|
|
$.fancybox({ |
|
|
|
$.fancybox({ |
|
|
|
"href": location, |
|
|
|
"href": location, |
|
|
|
"title": file, |
|
|
|
"title": file.replace(/</, "<").replace(/>/, ">"), |
|
|
|
"titlePosition": "inside" |
|
|
|
"titlePosition": "inside" |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|