Browse Source

Add file count to displayFilesAsHTML

toby 8 years ago
parent
commit
6b8ab2bf16
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/js/core/Utils.js

+ 3 - 1
src/js/core/Utils.js

@@ -978,7 +978,9 @@ var Utils = {
         };
 
         var Utils = this;
-        var html = "";
+        var html = "<div style='padding: 5px;'>" +
+                   files.length +
+                   " file(s) found</div>\n";
         files.forEach(function(file, i) {
             if (typeof file.contents !== "undefined") {
                 html += formatFile(file, i);