diff --git a/route/static/app/files.js b/route/static/app/files.js index b36f1a318..d007d1b7a 100755 --- a/route/static/app/files.js +++ b/route/static/app/files.js @@ -292,7 +292,7 @@ function openFilename(obj){ onlineEditFile(0, path); } - if (inArray(ext,['png','jpeg','gif'])){ + if (inArray(ext,['png','jpeg','gif','jpg'])){ getImage(path); } @@ -1331,7 +1331,7 @@ function getImage(fileName){ title:false, area: '500px', shadeClose: true, - content: '