mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 02:55:42 +05:00
Merge branch 'insert-onlyoffice-api' into 2025.3.1-rc
This commit is contained in:
commit
1a1dfd7b77
@ -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,
|
||||
|
||||
@ -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?'; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user