[SSE] Fix Bug 37041

This commit is contained in:
Julia Radzhabova 2018-03-02 11:52:15 +03:00
parent 68ae26ac5d
commit 5f9bb6a7e7

View file

@ -81,8 +81,11 @@ define([
this.$btnfunc = $('#ce-func-label', this.el);
var me = this;
this.$cellname.on('focusin', function(e){
me.$cellname.select().one('mouseup', function (e) {e.preventDefault();});
this.$cellname.on('focus', function(e){
var txt = me.$cellname[0];
txt.selectionStart = 0;
txt.selectionEnd = txt.value.length;
txt.scrollLeft = txt.scrollWidth;
});
this.$btnfunc.addClass('disabled');