Commit b8860aef authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Bug 31931

parent d606ce75
...@@ -106,7 +106,8 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template', ...@@ -106,7 +106,8 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template',
}; };
this.rangeList.on('item:select', _.bind(this.onSelectRangeItem, this)) this.rangeList.on('item:select', _.bind(this.onSelectRangeItem, this))
.on('item:keydown', _.bind(this.onKeyDown, 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({ this.btnNewRange = new Common.UI.Button({
el: $('#name-manager-btn-new') el: $('#name-manager-btn-new')
...@@ -214,6 +215,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template', ...@@ -214,6 +215,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template',
} }
_.delay(function () { _.delay(function () {
me.rangeList.cmpEl.find('.listview').focus(); me.rangeList.cmpEl.find('.listview').focus();
me.rangeList.scroller.update({alwaysVisibleY: true});
}, 100, this); }, 100, this);
}, },
...@@ -312,6 +314,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template', ...@@ -312,6 +314,7 @@ define([ 'text!spreadsheeteditor/main/app/template/NameManagerDlg.template',
this.rangeList.store.sort(); this.rangeList.store.sort();
this.rangeList.onResetItems(); this.rangeList.onResetItems();
this.rangeList.scroller.update({alwaysVisibleY: true});
}, },
getUserName: function(id){ getUserName: function(id){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment