mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Updated TreeSelectorField to work properly within CTF popups
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63549 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f8c1f84a0d
commit
7574120f15
@ -97,6 +97,10 @@ TreeDropdownField.prototype = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// This iframe stretching doesn't work with the greybox
|
||||
if(this.iframeObj.id == 'GB_frame') return;
|
||||
|
||||
var desiredHeight = Position.cumulativeOffset(this.itemTree)[1] + this.itemTree.offsetHeight + 2;
|
||||
if(this.iframeObj && desiredHeight > this.iframeObj.offsetHeight) {
|
||||
this.iframeObj.oldHeight = this.iframeObj.offsetHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user