src/file/FileUtils.js
function makeDialogFileList(paths) {
        var result = "<ul class='dialog-list'>";
        paths.forEach(function (path) {
            result += "<li><span class='dialog-filename'>";
            result += StringUtils.breakableUrl(path);
            result += "</span></li>";
        });
        result += "</ul>";
        return result;
    }
function makeDialogFileList(paths) {
        var result = "<ul class='dialog-list'>";
        paths.forEach(function (path) {
            result += "<li><span class='dialog-filename'>";
            result += StringUtils.breakableUrl(path);
            result += "</span></li>";
        });
        result += "</ul>";
        return result;
    }
function makeDialogFileList ( paths ) { var result = "<ul class='dialog-list'>" ; paths . forEach ( function ( path ) { result += "<li><span class='dialog-filename'>" ; result += StringUtils . breakableUrl ( path ) ; result += "</span></li>" ; } ) ; result += "</ul>" ; return result ; }
Creates an HTML string for a list of files to be reported on, suitable for use in a dialog.
@param {Array.<string>} Array of filenames or paths to display.
Creates an HTML string for a list of files to be reported on suitable for use in a dialog .