dont try to view psd files
This commit is contained in:
parent
c0bdad5893
commit
9ac65c51f5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue