Changeset 1108


Ignore:
Timestamp:
11/24/2007 12:54:19 PM (8 years ago)
Author:
fredck
Message:

Fixed #1556 : Set "Auto Size" on several dialogs, to avoid hidden content with Firefox 3.

Location:
FCKeditor/trunk/editor/dialog
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/dialog/fck_anchor.html

    r669 r1108  
    6969
    7070        window.parent.SetOkButton( true ) ;
     71        window.parent.SetAutoSize( true ) ;
    7172}
    7273
     
    189190                </script>
    190191        </head>
    191         <body style="OVERFLOW: hidden" scroll="no">
     192        <body style="overflow: hidden">
    192193                <table height="100%" width="100%">
    193194                        <tr>
  • FCKeditor/trunk/editor/dialog/fck_button.html

    r778 r1108  
    5454
    5555        window.parent.SetOkButton( true ) ;
     56        window.parent.SetAutoSize( true ) ;
    5657}
    5758
  • FCKeditor/trunk/editor/dialog/fck_checkbox.html

    r778 r1108  
    5252
    5353        window.parent.SetOkButton( true ) ;
     54        window.parent.SetAutoSize( true ) ;
    5455}
    5556
  • FCKeditor/trunk/editor/dialog/fck_form.html

    r933 r1108  
    5252
    5353        window.parent.SetOkButton( true ) ;
     54        window.parent.SetAutoSize( true ) ;
    5455}
    5556
  • FCKeditor/trunk/editor/dialog/fck_hiddenfield.html

    r778 r1108  
    6060
    6161        window.parent.SetOkButton( true ) ;
     62        window.parent.SetAutoSize( true ) ;
    6263}
    6364
  • FCKeditor/trunk/editor/dialog/fck_listprop.html

    r236 r1108  
    6565
    6666        window.parent.SetOkButton( true ) ;
     67        window.parent.SetAutoSize( true ) ;
    6768}
    6869
  • FCKeditor/trunk/editor/dialog/fck_radiobutton.html

    r778 r1108  
    5252
    5353        window.parent.SetOkButton( true ) ;
     54        window.parent.SetAutoSize( true ) ;
    5455}
    5556
  • FCKeditor/trunk/editor/dialog/fck_replace.html

    r1078 r1108  
    4444        idMap['CheckCase'] = 'chkCase' + tabCode ;
    4545        idMap['CheckWord'] = 'chkWord' + tabCode ;
     46
     47        if ( tabCode == 'Replace' )
     48                window.parent.SetAutoSize( true ) ;
    4649}
    4750
     
    6164        // Show the appropriate tab at startup.
    6265        if ( window.parent.name.search( 'Replace' ) == -1 )
     66        {
    6367                window.parent.SetSelectedTab( 'Find' ) ;
     68                window.parent.SetAutoSize( true ) ;
     69        }
    6470        else
    6571                window.parent.SetSelectedTab( 'Replace' ) ;
     72
    6673}
    6774
  • FCKeditor/trunk/editor/dialog/fck_select.html

    r778 r1108  
    7070
    7171        window.parent.SetOkButton( true ) ;
     72        window.parent.SetAutoSize( true ) ;
    7273}
    7374
     
    114115                </script>
    115116        </head>
    116         <body style='OVERFLOW: hidden' scroll='no'>
     117        <body style="overflow: hidden">
    117118                <table width="100%" height="100%">
    118119                        <tr>
  • FCKeditor/trunk/editor/dialog/fck_smiley.html

    r403 r1108  
    4242        // First of all, translate the dialog box texts
    4343        oEditor.FCKLanguageManager.TranslatePage(document) ;
     44
     45        window.parent.SetAutoSize( true ) ;
    4446}
    4547
     
    7072        </script>
    7173</head>
    72 <body scroll="no">
     74<body style="overflow: hidden">
    7375        <table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%">
    7476                <script type="text/javascript">
  • FCKeditor/trunk/editor/dialog/fck_specialchar.html

    r715 r1108  
    7070        // First of all, translates the dialog box texts.
    7171        oEditor.FCKLanguageManager.TranslatePage(document) ;
     72
     73        window.parent.SetAutoSize( true ) ;
    7274}
    7375
    7476                </script>
    75         </HEAD>
    76         <BODY onload="setDefaults()" scroll="no">
     77        </head>
     78        <body onload="setDefaults()" style="overflow: hidden">
    7779                <table cellpadding="0" cellspacing="0" width="100%" height="100%">
    7880                        <tr>
     
    115117                        </tr>
    116118                </table>
    117         </BODY>
    118 </HTML>
     119        </body>
     120</html>
  • FCKeditor/trunk/editor/dialog/fck_textarea.html

    r778 r1108  
    5252
    5353        window.parent.SetOkButton( true ) ;
     54        window.parent.SetAutoSize( true ) ;
    5455}
    5556
     
    7273                </script>
    7374        </head>
    74         <body style='OVERFLOW: hidden' scroll='no'>
     75        <body style="overflow: hidden">
    7576                <table height="100%" width="100%">
    7677                        <tr>
  • FCKeditor/trunk/editor/dialog/fck_textfield.html

    r775 r1108  
    5656
    5757        window.parent.SetOkButton( true ) ;
     58        window.parent.SetAutoSize( true ) ;
    5859}
    5960
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy