Merge branch 'insert-onlyoffice-api' into 2025.3.1-rc

This commit is contained in:
yflory 2025-04-17 13:57:03 +02:00
commit 1a1dfd7b77
2 changed files with 3 additions and 2 deletions

View File

@ -1724,7 +1724,7 @@ define([
deleteOfflineLocks();
handleNewLocks({}, content.locks);
if (APP.unsavedChanges) {
var unsaved = APP.unsavedChanges;
var unsaved = APP.unsavedChanges;
delete APP.unsavedChanges;
rtChannel.sendMsg(unsaved, null, function (err, hash) {
if (err) { return void UI.alert(Messages.oo_lostEdits); }
@ -1853,6 +1853,7 @@ define([
permissions: {
download: dc?.permissions?.download || false,
print: dc?.permissions?.print || true,
protect: false
}
},
"documentType": file.doc,

View File

@ -4,7 +4,7 @@
(() => {
const factory = function () {
let USE_MIN = false;
let USE_MIN = true;
let path = '/common/worker.bundle.js?';
if (USE_MIN) { path = '/common/worker.bundle.min.js?'; }