Updated ViewImage modal dialog to include details about non-image files

Этот коммит содержится в:
hmhealey
2015-07-28 16:41:57 -04:00
родитель b0c64c73f9
Коммит af246bb44b
4 изменённых файлов: 119 добавлений и 57 удалений

Просмотреть файл

@@ -907,3 +907,9 @@ module.exports.getFileUrl = function(filename) {
return url;
};
// Gets the name of a file (including extension) from a given url or file path.
module.exports.getFileName = function(path) {
var split = path.split('/');
return split[split.length - 1];
};