Fix renaming pad with multiple dots in the name in drive

This commit is contained in:
yflory 2017-10-19 18:30:55 +02:00
parent 7bc2f81852
commit 094856a511

View File

@ -546,7 +546,7 @@ define([
};
var getFileNameExtension = function (name) {
var matched = /\.\S+$/.exec(name);
var matched = /\.[^\. ]+$/.exec(name);
if (matched && matched.length) { return matched[matched.length -1]; }
return '';
};