fix(csharp-mvc): extension without dot in conversion script. Fix Bug 70022

This commit is contained in:
sshakndr
2024-09-12 14:03:49 +07:00
parent f00abbc9e7
commit e25b10d618

View File

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