Changeset 1805

Show
Ignore:
Timestamp:
2008-03-26 09:38:26 (7 months ago)
Author:
fredck
Message:

[Release 2.6 RC] Line endings and spaces fixes.

Location:
FCKeditor/trunk
Files:
14 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/dialog/fck_link/fck_link.js

    r1795 r1805  
    160160        // Activate the "OK" button. 
    161161        dialog.SetOkButton( true ) ; 
    162          
     162 
    163163        // Select the first field. 
    164164        switch( GetE('cmbLinkType').value ) 
     
    170170                        SelectField( 'txtEMailAddress' ) ; 
    171171                        break ; 
    172                 case 'anchor' :  
     172                case 'anchor' : 
    173173                        if ( GetE('divSelAnchor').style.display != 'none' ) 
    174174                                SelectField( 'cmbAnchorName' ) ; 
  • FCKeditor/trunk/editor/filemanager/browser/default/js/fckxml.js

    r1772 r1805  
    3232{ 
    3333        // Gecko / IE7 
    34         try { return new XMLHttpRequest(); }  
     34        try { return new XMLHttpRequest(); } 
    3535        catch(e) {} 
    3636 
  • FCKeditor/trunk/editor/filemanager/connectors/lasso/connector.lasso

    r1797 r1805  
    5959        Custom tag sets the HTML response. 
    6060        */ 
    61          
     61 
    6262        define_tag( 
    6363                'htmlreply', 
     
    114114                        /if; 
    115115        /define_tag; 
    116          
     116 
    117117 
    118118    /*..................................................................... 
     
    138138                /if; 
    139139        else; 
    140          
     140 
    141141    /*..................................................................... 
    142142    Build the appropriate response per the 'Command' parameter. Wrap the 
     
    226226                        $uploadResult = '202'; 
    227227                /if; 
    228                  
     228 
    229229                                if($uploadResult == '0'); 
    230230                    /*..................................................... 
  • FCKeditor/trunk/editor/filemanager/connectors/php/io.php

    r1797 r1805  
    230230 
    231231        // Check the current folder syntax (must begin and start with a slash). 
    232         if ( !preg_match( '|/$|', $sCurrentFolder ) )  
     232        if ( !preg_match( '|/$|', $sCurrentFolder ) ) 
    233233                $sCurrentFolder .= '/' ; 
    234         if ( strpos( $sCurrentFolder, '/' ) !== 0 )  
     234        if ( strpos( $sCurrentFolder, '/' ) !== 0 ) 
    235235                $sCurrentFolder = '/' . $sCurrentFolder ; 
    236236 
  • FCKeditor/trunk/editor/filemanager/connectors/test.html

    r1794 r1805  
    5858                } 
    5959        } 
    60 })() ;   
    61          
     60})() ; 
     61 
    6262function BuildBaseUrl( command ) 
    6363{ 
  • FCKeditor/trunk/editor/filemanager/connectors/uploadtest.html

    r1796 r1805  
    5757                } 
    5858        } 
    59 })() ;   
    60                  
     59})() ; 
     60 
    6161function SendFile() 
    6262{ 
     
    7676 
    7777        var date = new Date() 
    78          
     78 
    7979        frmUpload.action = sUploaderUrl + '?time=' + date.getTime(); 
    8080        if (document.getElementById('cmbType').value) { 
     
    168168                                                                        Upload a new file:<br> 
    169169                                                                        <input type="file" name="NewFile"><br> 
    170                                                                           
     170 
    171171                                                                        <input type="button" value="Send it to the Server" onclick="SendFile();"> 
    172172                                                                </form> 
  • FCKeditor/trunk/editor/_source/classes/fckpanel.js

    r1762 r1805  
    310310                this._IsOpened = false ; 
    311311 
    312                 if ( this._resizeTimer )  
    313                 {  
    314                         clearTimeout( this._resizeTimer ) ;  
    315                         this._resizeTimer = null ;  
    316                 }  
     312                if ( this._resizeTimer ) 
     313                { 
     314                        clearTimeout( this._resizeTimer ) ; 
     315                        this._resizeTimer = null ; 
     316                } 
    317317 
    318318                if ( this.ParentPanel ) 
  • FCKeditor/trunk/editor/_source/classes/fckstyle.js

    r1740 r1805  
    820820                                results.push( value ) ; 
    821821                        } ) ; 
    822                  
     822 
    823823                // Assigning innerHTML to <PRE> in IE causes all linebreaks to be reduced to spaces. 
    824824                // Assigning outerHTML to <PRE> in IE doesn't work if the <PRE> isn't contained in another node 
  • FCKeditor/trunk/editor/_source/fckeditorapi.js

    r1713 r1805  
    130130 
    131131                FCKeditorAPI = oParentWindow.FCKeditorAPI ; 
    132                  
     132 
    133133                // The __Instances properly has been changed to the public Instances, 
    134134                // but we should still have the "deprecated" version of it. 
  • FCKeditor/trunk/editor/_source/internals/fckdialog.js

    r1795 r1805  
    7575                        } ) ; 
    7676        } 
    77          
     77 
    7878        var resetStyles = function( element ) 
    7979        { 
  • FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js

    r1790 r1805  
    246246                        return ; 
    247247                fakeImg.className = 'FCK__Flash' ; 
    248                 fakeImg.setAttribute( '_fckflash', 'true', 0 );  
     248                fakeImg.setAttribute( '_fckflash', 'true', 0 ); 
    249249        } ) ; 
  • FCKeditor/trunk/editor/_source/internals/fckselection_ie.js

    r1795 r1805  
    216216 
    217217        var editorDocument = FCK.EditorDocument ; 
    218          
     218 
    219219        if ( !editorDocument ) 
    220220                return ; 
     
    246246                FCK.IsSelectionChangeLocked = true ; 
    247247 
    248                 try  
     248                try 
    249249                { 
    250250                        this.SelectionData.select() ; 
     
    258258FCKSelection.Release = function() 
    259259{ 
    260         delete this.SelectionData ;                      
    261 } 
     260        delete this.SelectionData ; 
     261} 
  • FCKeditor/trunk/_test/automated/tests/fckdomtools.html

    r1714 r1805  
    117117{ 
    118118        var p = document.getElementById( 'xBreakParent_P1' ) ; 
    119          
     119 
    120120        FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('i')[0] ) ; 
    121121 
     
    126126{ 
    127127        var p = document.getElementById( 'xBreakParent_P1' ) ; 
    128          
     128 
    129129        FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('b')[0] ) ; 
    130130 
     
    135135{ 
    136136        var p = document.getElementById( 'xBreakParent_P2' ) ; 
    137          
     137 
    138138        FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('i')[0] ) ; 
    139139 
     
    144144{ 
    145145        var p = document.getElementById( 'xBreakParent_P2' ) ; 
    146          
     146 
    147147        FCKDomTools.BreakParent( p.getElementsByTagName('span')[0], p.getElementsByTagName('b')[0] ) ; 
    148148 
     
    153153{ 
    154154        var p = document.getElementById( 'xBreakParent_P2' ) ; 
    155          
     155 
    156156        FCKDomTools.BreakParent( p.getElementsByTagName('i')[0], p.getElementsByTagName('b')[0] ) ; 
    157157 
  • FCKeditor/trunk/_whatsnew.html

    r1804 r1805  
    7070                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder 
    7171                        dialog will now display the placeholder value correctly in IE.</li> 
    72                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing Enter  
    73                         or typing after a placeholder with the placeholder plugin will no longer generate  
     72                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing 
     73                        Enter or typing after a placeholder with the placeholder plugin will no longer generate 
    7474                        colored text.</li> 
    7575                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed 
     
    7777                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed 
    7878                        Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li> 
    79                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed  
     79                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed 
    8080                        permission denied errors during opening popup menus in IE6 under domain relaxation 
    8181                        mode.</li> 
    8282                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed 
    8383                        JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li> 
    84                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed SSL 
    85                         warning message when opening image and flash dialogs under HTTPS in IE6.</li> 
    86                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] 
    87                         [<a target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>]  
    88                         [<a target="_blank" href="http://dev.fckeditor.net/ticket/1985">#1985</a>]  
    89                         [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>]  
     84                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed 
     85                        SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li> 
     86                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a 
     87                        target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank" 
     88                                href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] 
    9089                        Fixed XHTML source formatting errors in non-IE browsers.</li> 
    9190                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # 
    9291                        character is now properly encoded in file names returned by the File Browser.</li> 
    93                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New  
    94                         folders and file names are now properly sanitized against control characters. 
    95                         </li> 
    96                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash  
     92                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders 
     93                        and file names are now properly sanitized against control characters. </li> 
     94                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash 
    9795                        character is now disallowed in current folder path.</li> 
    98                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added logic 
    99                         to override JavaScript errors occurring inside the editing frame due to user added 
    100                         JavaScript code.</li> 
     96                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added 
     97                        logic to override JavaScript errors occurring inside the editing frame due to user 
     98                        added JavaScript code.</li> 
    10199                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting 
    102100                        ENTER on list items containing block elements will now create new list item elements, 
     
    110108                        CSS &lt;style&gt; tags where being outputted when FullPage=true.</li> 
    111109                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link 
    112                         dialog now properly selects the first field when opening it to modify mailto or anchor 
    113                         links. This problem was also throwing an error in IE.</li> 
     110                        dialog now properly selects the first field when opening it to modify mailto or 
     111                        anchor links. This problem was also throwing an error in IE.</li> 
    114112                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret 
    115113                        will no longer remain behind in the editing area when the placeholder dialog is 
     
    119117                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting 
    120118                        ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> 
    121                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed the 
    122                         issue where context menus sometimes don't disappear after selecting an option. 
    123                         </li> 
     119                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed 
     120                        the issue where context menus sometimes don't disappear after selecting an option. 
     121                </li> 
    124122                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed 
    125123                        JavaScript error when EnterMode=br and user tries to insert a page break.</li> 
     
    127125                        the issue where the maximize editor button does not vertically expand the editing 
    128126                        area in Firefox.</li> 
    129                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration:  
     127                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: 
    130128                        fixed filename encoding problems in file browser.</li> 
    131129                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling 
    132                         FCK.InsertHtml() in non-IE browsers would now activate the document processor 
    133                         as expected.</li> 
     130                        FCK.InsertHtml() in non-IE browsers would now activate the document processor as 
     131                        expected.</li> 
    134132                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native 
    135133                        XMLHttpRequest class is now used in IE, whenever it is available.</li> 
     
    145143                        command was throwing an error if executed in an editor where its relative button 
    146144                        is not present in the toolbar.</li> 
    147                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented a 
    148                         generic document processor for &lt;OBJECT&gt; and &lt;EMBED&gt; tags.</li> 
    149                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed the 
    150                         issue where the placeholder icon for &lt;EMBED&gt; tags does not always show up 
    151                         in IE7.</li> 
    152                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed a 
    153                         deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> 
     145                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented 
     146                        a generic document processor for &lt;OBJECT&gt; and &lt;EMBED&gt; tags.</li> 
     147                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed 
     148                        the issue where the placeholder icon for &lt;EMBED&gt; tags does not always show 
     149                        up in IE7.</li> 
     150                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed 
     151                        a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> 
    154152                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE, 
    155153                        the caret will not any more move to the previous line when selecting a Format style 
     
    297295                        to file browser has been changed to avoid requests containing double dots.</li> 
    298296                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting 
    299                         multiple contiguous paragraphs to Formatted will now be merged into a single  
    300                         &lt;PRE&gt; block.</li> 
     297                        multiple contiguous paragraphs to Formatted will now be merged into a single &lt;PRE&gt; 
     298                        block.</li> 
    301299                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples 
    302300                        failed to load from local filesystem in IE7.</li>