Fix Bug 37199
This commit is contained in:
parent
bc30e303da
commit
db112968a5
|
@ -370,7 +370,7 @@ define([
|
|||
|
||||
setResizeValue: function (index, value) {
|
||||
if (index >= this.splitters.length)
|
||||
return;
|
||||
return false;
|
||||
|
||||
var panel = null, next = null, oldValue = 0,
|
||||
resize = this.splitters[index].resizer,
|
||||
|
@ -405,6 +405,7 @@ define([
|
|||
if (resize.value != value) {
|
||||
this.doLayout();
|
||||
}
|
||||
return (Math.abs(oldValue-value)>0.99);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -389,6 +389,7 @@ define([
|
|||
if (event && 0 == textBox.val().length) {
|
||||
this.layout.setResizeValue(1, Math.max(this.addMessageBoxHeight, height - this.addMessageBoxHeight));
|
||||
this.textBoxAutoSizeLocked = undefined;
|
||||
this.updateScrolls();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -409,9 +410,8 @@ define([
|
|||
|
||||
height = this.panelBox.height();
|
||||
|
||||
this.layout.setResizeValue(1,
|
||||
Math.max(this.addMessageBoxHeight,
|
||||
Math.min(height - contentHeight - textBoxMinHeightIndent, height - this.addMessageBoxHeight)));
|
||||
if (this.layout.setResizeValue(1, Math.max(this.addMessageBoxHeight, Math.min(height - contentHeight - textBoxMinHeightIndent, height - this.addMessageBoxHeight))))
|
||||
this.updateScrolls(); // update when resize position changed
|
||||
},
|
||||
|
||||
updateScrolls: function () {
|
||||
|
|
Loading…
Reference in a new issue