Fix Bug 43160
This commit is contained in:
parent
9d0f639fda
commit
a505981d89
|
@ -1014,6 +1014,8 @@ define([
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, this);
|
}, this);
|
||||||
|
if (this.emailMenu && this.emailMenu.rendered)
|
||||||
|
this.emailMenu.cmpEl.css('display', 'none');
|
||||||
},
|
},
|
||||||
|
|
||||||
isCommentsViewMouseOver: function () {
|
isCommentsViewMouseOver: function () {
|
||||||
|
@ -1163,8 +1165,10 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
insertEmailToTextbox: function(str, left, right) {
|
insertEmailToTextbox: function(str, left, right) {
|
||||||
var textBox = this.commentsView.getTextBox(),
|
var textBox = this.commentsView.getTextBox();
|
||||||
val = textBox.val();
|
if (!textBox) return;
|
||||||
|
|
||||||
|
var val = textBox.val();
|
||||||
textBox.val(val.substring(0, left) + '+' + str + ' ' + val.substring(right+1, val.length));
|
textBox.val(val.substring(0, left) + '+' + str + ' ' + val.substring(right+1, val.length));
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
textBox[0].selectionStart = textBox[0].selectionEnd = left + str.length + 2;
|
textBox[0].selectionStart = textBox[0].selectionEnd = left + str.length + 2;
|
||||||
|
|
Loading…
Reference in a new issue