mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
fix(go): correct converted file name. Fix Bug 73501
This commit is contained in:
@ -408,8 +408,8 @@ if (typeof jQuery !== "undefined") {
|
|||||||
jq("#beginViewConverted").removeClass("disable");
|
jq("#beginViewConverted").removeClass("disable");
|
||||||
jq("#downloadConverted").attr("data","fromStorage");
|
jq("#downloadConverted").attr("data","fromStorage");
|
||||||
} else {
|
} else {
|
||||||
let newFilename = fileName.split('.').slice(0,-1).join('.')
|
jq("#hiddenFileName").attr("data",response.filename.split("&filename=download%3FfileName%3D")
|
||||||
jq("#hiddenFileName").attr("data",response.filename.split("&filename=download").join(`&filename=${newFilename}`));
|
.join("&filename="));
|
||||||
jq("#downloadConverted").attr("data","fromConverter");
|
jq("#downloadConverted").attr("data","fromConverter");
|
||||||
}
|
}
|
||||||
jq("td[name='convertingTypeButton']").removeClass("disable orange");
|
jq("td[name='convertingTypeButton']").removeClass("disable orange");
|
||||||
|
|||||||
Reference in New Issue
Block a user