git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44533 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-09 00:50:42 +00:00
parent 0fc99de98c
commit 9a81e1461d

View File

@ -184,12 +184,20 @@ window.onresize = function(init) {
if($('Form_EditorToolbarImageForm') && $('Form_EditorToolbarImageForm').style.display == "block") {
fitToParent('Form_EditorToolbarImageForm', 5);
fitToParent($('Form_EditorToolbarImageForm').getElementsByTagName('fieldset')[0]);
fitToParent('Image', 170);
if(navigator.appName == "Microsoft Internet Explorer") {
fitToParent('Image');
} else {
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(navigator.appName == "Microsoft Internet Explorer") {
fitToParent('Flash');
} else {
fitToParent('Flash', 80);
}
}
}