nodejs: submitting in embedded mode

This commit is contained in:
Sergey Linnik
2024-05-20 13:44:54 +03:00
parent 26673ec668
commit ecb520e4cb

View File

@ -1014,7 +1014,7 @@ app.get('/editor', (req, res) => { // define a handler for editing document
}
let submitForm = false;
if (mode === 'fillForms') {
if (mode === 'fillForms' || mode === "embedded") {
submitForm = userid === 'uid-1';
}