From 592f1cfcd2ec77bfa5ee6f60898ec7744abd347f Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 26 Nov 2021 14:18:23 +0300 Subject: [PATCH] [DE] For Bug 53934 --- apps/documenteditor/main/app/view/FormSettings.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index ca588a3afd..8e6bf0b7e1 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -280,6 +280,9 @@ define([ this.lockedControls.push(this.txtNewValue); this.txtNewValue.on('inputleave', function(){ me.fireEvent('editcomplete', me);}); this.txtNewValue._input.on('keydown', _.bind(this.onNewValueKeydown, this)); + this.txtNewValue.cmpEl.on('focus', 'input.form-control', function() { + setTimeout(function(){me.txtNewValue._input && me.txtNewValue._input.select();}, 1); + }); this.list = new Common.UI.ListView({ el: $markup.findById('#form-list-list'),