fix working with formats (893303c27f) (Fix Bug 70022)

This commit is contained in:
Sergey Linnik
2024-09-12 10:10:05 +03:00
parent 09344f6bbb
commit b9b4aeffac
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ if (typeof jQuery != "undefined") {
jq("#filePass").val("");
var fileName = jq("#hiddenFileName").val();
var posExt = fileName.lastIndexOf('.');
var posExt = fileName.lastIndexOf('.') + 1;
posExt = 0 <= posExt ? fileName.substring(posExt).trim().toLowerCase() : '';
if (!formatManager.isAutoConvertible(posExt)) {