Compare commits

...

1 Commits

Author SHA1 Message Date
95d200fe32 switching from filling to editing 2024-04-09 10:59:29 +03:00
9 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,6 @@
# Change Log
- switching from filling to editing
- nodejs: creating pdf instead docxf
- fill permission in embedded mode
- nodejs: wopi formsubmit icon

View File

@ -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=view\&?", "i"), "") + "&editorsMode=edit";
};
// an error or some other specific event occurs

View File

@ -86,7 +86,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=view\&?", "i"), "") + "&editorsMode=edit";
};
// an error or some other specific event occurs

View File

@ -52,7 +52,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("\&?action=view", "i"), "");
location.href = location.href.replace(RegExp("\&?action=view", "i"), "") + "&action=edit";
};
// an error or some other specific event occurs

View File

@ -58,7 +58,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("mode=view\&?", "i"), "");
location.href = location.href.replace(RegExp("mode=view\&?", "i"), "") + "&mode=edit";
};
// an error or some other specific event occurs

View File

@ -74,7 +74,7 @@
};
var onRequestEditRights = function () { // the user is trying to switch the document from the viewing into the editing mode
location.href = location.href.replace(RegExp("mode=view\&?", "i"), "");
location.href = location.href.replace(RegExp("mode=view\&?", "i"), "") + "&mode=edit";
};
var onRequestHistory = function (event) { // the user is trying to show the document version history

View File

@ -67,7 +67,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("action=view\&?", "i"), "");
location.href = location.href.replace(RegExp("action=view\&?", "i"), "") + "&action=edit";
};
// an error or some other specific event occurs

View File

@ -64,7 +64,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("mode=view\&?", "i"), "");
location.href = location.href.replace(RegExp("mode=view\&?", "i"), "") + "&mode=edit";
};
// an error or some other specific event occurs

View File

@ -49,7 +49,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=view\&?", "i"), "") + "&editorsMode=edit";
};
// an error or some other specific event occurs