Merge pull request #720 from midoks/dev

Update files.js
pull/727/head
Mr Chen 1 month ago committed by GitHub
commit 65a4635b09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      web/static/app/files.js

@ -285,7 +285,7 @@ function openFilename(obj){
var ext = getSuffixName(path); var ext = getSuffixName(path);
// console.log(path,ext); // console.log(path,ext);
if (inArray(ext,['html','htm','php','txt','md','js','css','scss','json','c','h','pl','py','java','log','conf','sh','json','ini'])){ if (inArray(ext,['html','htm','php','txt','md','js','css','scss','json','c','h','pl','py','java','log','conf','sh','json','ini', 'yaml'])){
onlineEditFile(0, path); onlineEditFile(0, path);
} }

Loading…
Cancel
Save