diff --git a/web/static/app/files.js b/web/static/app/files.js index c42c81f6b..9b2d577fe 100755 --- a/web/static/app/files.js +++ b/web/static/app/files.js @@ -285,7 +285,7 @@ function openFilename(obj){ var ext = getSuffixName(path); // 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); }