Browse Source

[svn r12121] increase the size of the flash pop up
the default size value of a flash animation is 450*450 px

Julian Prud'homme 18 years ago
parent
commit
9c707f1f6c

+ 2 - 2
main/inc/lib/fckeditor/editor/dialog/fck_flash.php

@@ -53,12 +53,12 @@ include('../../../../../inc/global.inc.php');
 							<TR>
 								<TD nowrap>
 									<span fckLang="DlgImgWidth">Width</span><br>
-									<input id="txtWidth" class="FCK__FieldNumeric" type="text" size="3">
+									<input id="txtWidth" class="FCK__FieldNumeric" type="text" size="3" value="450">
 								</TD>
 								<TD>&nbsp;</TD>
 								<TD>
 									<span fckLang="DlgImgHeight">Height</span><br>
-									<input id="txtHeight" class="FCK__FieldNumeric" type="text" size="3">
+									<input id="txtHeight" class="FCK__FieldNumeric" type="text" size="3" value="450">
 								</TD>
 							</TR>
 						</table>

+ 2 - 0
main/inc/lib/fckeditor/editor/dialog/fck_flash/fck_flash.js

@@ -74,6 +74,8 @@ window.onload = function()
 
 	window.parent.SetAutoSize( true ) ;
 
+	window.parent.resizeTo(450,550);
+	
 	// Activate the "OK" button.
 	//window.parent.SetOkButton( true ) ;