mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
#1657 - image popup should expand to fill room
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44529 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8dc2b6e7e6
commit
0fc99de98c
@ -179,7 +179,20 @@ window.onresize = function(init) {
|
||||
rightbottom.style.top = getDimension(right,'top') + (newHeight*2) + 'px';
|
||||
}
|
||||
|
||||
if(typeof fitToParent == 'function') fitToParent('Form_EditForm');
|
||||
if(typeof fitToParent == 'function') {
|
||||
fitToParent('Form_EditForm');
|
||||
if($('Form_EditorToolbarImageForm') && $('Form_EditorToolbarImageForm').style.display == "block") {
|
||||
fitToParent('Form_EditorToolbarImageForm', 5);
|
||||
fitToParent($('Form_EditorToolbarImageForm').getElementsByTagName('fieldset')[0]);
|
||||
fitToParent('Image', 170);
|
||||
}
|
||||
if($('Form_EditorToolbarFlashForm') && $('Form_EditorToolbarFlashForm').style.display == "block") {
|
||||
fitToParent('Form_EditorToolbarFlashForm', 5);
|
||||
fitToParent($('Form_EditorToolbarFlashForm').getElementsByTagName('fieldset')[0]);
|
||||
fitToParent('Flash', 80);
|
||||
}
|
||||
|
||||
}
|
||||
if(typeof fixHeight_left == 'function') fixHeight_left();
|
||||
if(typeof fixRightWidth == 'function') fixRightWidth();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user