From 38db031e113b9d91261fe343d8f623d113317cbb Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Fri, 22 Nov 2024 19:40:23 +0300 Subject: [PATCH] [de] Don't prevent text input in read/comments mode --- common/text_input2.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/text_input2.js b/common/text_input2.js index d8ba87dae9..52c898098b 100644 --- a/common/text_input2.js +++ b/common/text_input2.js @@ -1223,16 +1223,6 @@ let oldDisableKeyboard = this.isDisableKeyboard; this.isDisableKeyboard = this.Api.isViewMode; - if (!this.isDisableKeyboard) - { - if (this.Api.isRestrictionView() && !this.Api.isRestrictionForms()) - { - // в пдф даем комментировать и заполнять формы во вью с сохранением в копию - if (!this.Api.isPdfEditor()) - this.isDisableKeyboard = true; - } - } - if (oldDisableKeyboard !== this.isDisableKeyboard) { this.setReadOnlyWrapper(false);