mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
Merge remote-tracking branch 'remotes/origin/release/v8.1.0' into develop
# Conflicts: # CHANGELOG.md # web/documentserver-example/java-spring/src/main/resources/application.properties # web/documentserver-example/nodejs/app.js # web/documentserver-example/nodejs/views/wopiIndex.ejs
This commit is contained in:
@ -68,7 +68,7 @@
|
||||
|
||||
// the user is trying to switch the document from the viewing into the editing mode
|
||||
var onRequestEditRights = function () {
|
||||
location.href = location.href.replace(RegExp("editorsMode=view\&?", "i"), "");
|
||||
location.href = location.href.replace(RegExp("editorsMode=\\w+\&?", "i"), "") + "&editorsMode=edit";
|
||||
};
|
||||
|
||||
// an error or some other specific event occurs
|
||||
|
||||
Reference in New Issue
Block a user