[bug] Set isPrint flag while form submission

This commit is contained in:
Sergey Konovalov
2024-04-13 16:17:37 +03:00
parent 71c4cbc02c
commit 5fcc35b536
5 changed files with 29 additions and 16 deletions

View File

@ -32,6 +32,7 @@
'use strict';
const config = require("config");
const constants = require('./constants');
function InputCommand(data, copyExplicit) {
@ -365,8 +366,12 @@ InputCommand.prototype = {
getJsonParams: function() {
return this['jsonparams'];
},
setJsonParams: function(data) {
this['jsonparams'] = data;
appendJsonParams: function (data) {
if (this['jsonparams']) {
config.util.extendDeep(this['jsonparams'], data);
} else {
this['jsonparams'] = data;
}
},
getLCID: function() {
return this['lcid'];