Fix renaming pad with multiple dots in the name in drive
This commit is contained in:
@@ -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 '';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user