Skip to content
Snippets Groups Projects
Commit 9ac65c51 authored by Robin Appelman's avatar Robin Appelman
Browse files

dont try to view psd files

parent c0bdad58
Branches
No related tags found
No related merge requests found
......@@ -18,6 +18,9 @@ $(document).ready(function() {
});
function viewImage(dir, file) {
if(file.indexOf('.psd')){//can't view those
return;
}
var location=OC.filePath('files','ajax','download.php')+'?files='+file+'&dir='+dir;
$.fancybox({
"href": location,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment