Skip to content

Commit

Permalink
[de] Don't prevent text input in read/comments mode
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillovIlya committed Nov 22, 2024
1 parent bf81417 commit 38db031
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions common/text_input2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 38db031

Please sign in to comment.