From b8860aef0ae67ee591e3247430bdb5d3cac01a84 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 16 Mar 2016 11:41:59 +0300 Subject: [PATCH] [SSE] Bug 31931 --- apps/spreadsheeteditor/main/app/view/NameManagerDlg.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/NameManagerDlg.js b/apps/spreadsheeteditor/main/app/view/NameManagerDlg.js index f4d082dbc..d7afc1fe7 100644 --- a/apps/spreadsheeteditor/main/app/view/NameManagerDlg.js +++ b/apps/spreadsheeteditor/main/app/view/NameManagerDlg.js @@ -106,7 +106,8 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template', }; this.rangeList.on('item:select', _.bind(this.onSelectRangeItem, this)) .on('item:keydown', _.bind(this.onKeyDown, this)) - .on('item:dblclick', _.bind(this.onDblClickItem, this)); + .on('item:dblclick', _.bind(this.onDblClickItem, this)) + .on('entervalue', _.bind(this.onDblClickItem, this)); this.btnNewRange = new Common.UI.Button({ el: $('#name-manager-btn-new') @@ -214,6 +215,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template', } _.delay(function () { me.rangeList.cmpEl.find('.listview').focus(); + me.rangeList.scroller.update({alwaysVisibleY: true}); }, 100, this); }, @@ -312,6 +314,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template', this.rangeList.store.sort(); this.rangeList.onResetItems(); + this.rangeList.scroller.update({alwaysVisibleY: true}); }, getUserName: function(id){