Fix renaming pad with multiple dots in the name in drive
This commit is contained in:
parent
7bc2f81852
commit
094856a511
@ -546,7 +546,7 @@ define([
|
|||||||
};
|
};
|
||||||
|
|
||||||
var getFileNameExtension = function (name) {
|
var getFileNameExtension = function (name) {
|
||||||
var matched = /\.\S+$/.exec(name);
|
var matched = /\.[^\. ]+$/.exec(name);
|
||||||
if (matched && matched.length) { return matched[matched.length -1]; }
|
if (matched && matched.length) { return matched[matched.length -1]; }
|
||||||
return '';
|
return '';
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user