[SSE] Fix Bug 37041
This commit is contained in:
parent
68ae26ac5d
commit
5f9bb6a7e7
|
@ -81,8 +81,11 @@ define([
|
||||||
this.$btnfunc = $('#ce-func-label', this.el);
|
this.$btnfunc = $('#ce-func-label', this.el);
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
this.$cellname.on('focusin', function(e){
|
this.$cellname.on('focus', function(e){
|
||||||
me.$cellname.select().one('mouseup', function (e) {e.preventDefault();});
|
var txt = me.$cellname[0];
|
||||||
|
txt.selectionStart = 0;
|
||||||
|
txt.selectionEnd = txt.value.length;
|
||||||
|
txt.scrollLeft = txt.scrollWidth;
|
||||||
});
|
});
|
||||||
|
|
||||||
this.$btnfunc.addClass('disabled');
|
this.$btnfunc.addClass('disabled');
|
||||||
|
|
Loading…
Reference in a new issue