Ticket #1643: 1643_3.patch

File 1643_3.patch, 4.7 kB (added by fredck, 7 months ago)
  • _whatsnew.html

     
    5757                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/339">#339</a>] [<a 
    5858                        target="_blank" href="http://dev.fckeditor.net/ticket/681">#681</a>] The SpellerPages 
    5959                        spell checker will now completely ignore the presence of HTML tags in the text.</li> 
     60                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved 
     61                        several "strict warning" messages in Firefox when running FCKeditor.</li> 
    6062        </ul> 
    6163        <p> 
    6264                <a href="_whatsnew_history.html">See previous versions history</a> 
  • editor/_source/classes/fckcontextmenu.js

     
    156156                        return false ; 
    157157                } 
    158158        } 
     159        return true ; 
    159160} 
    160161 
    161162function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el ) 
  • editor/_source/classes/fckdomrange.js

     
    9999                        this._UpdateElementInfo() ; 
    100100                        return docFrag ; 
    101101                } 
     102                return null ; 
    102103        }, 
    103104 
    104105        CheckIsCollapsed : function() 
    105106        { 
    106107                if ( this._Range ) 
    107108                        return this._Range.collapsed ; 
     109 
     110                return false ; 
    108111        }, 
    109112 
    110113        Collapse : function( toStart ) 
  • editor/_source/classes/fcktoolbarspecialcombo.js

     
    3232{ 
    3333        this.SourceView                 = false ; 
    3434        this.ContextSensitive   = true ; 
     35        this.FieldWidth                 = null ; 
     36        this.PanelWidth                 = null ; 
     37        this.PanelMaxHeight             = null ; 
    3538        //this._LastValue                       = null ; 
    3639} 
    3740 
  • editor/_source/commandclasses/fckjustifycommands.js

     
    3939                        switch ( alignValue ) 
    4040                        { 
    4141                                case 'left' : 
    42                                         return classes[0] ; 
     42                                        return classes[0] || null ; 
    4343                                case 'center' : 
    44                                         return classes[1] ; 
     44                                        return classes[1] || null ; 
    4545                                case 'right' : 
    46                                         return classes[2] ; 
     46                                        return classes[2] || null ; 
    4747                                case 'justify' : 
    48                                         return classes[3] ; 
     48                                        return classes[3] || null ; 
    4949                        } 
    5050                } 
    5151                return null ; 
  • editor/_source/internals/fck.js

     
    474474                        window.onresize() ; 
    475475        }, 
    476476 
    477         // For the FocusManager 
    478         HasFocus : false, 
    479  
    480  
    481477        // This collection is used by the browser specific implementations to tell 
    482478        // which named commands must be handled separately. 
    483479        RedirectNamedCommands : new Object(), 
  • editor/_source/internals/fckstyles.js

     
    8888                                var style = styles[ styleName ] ; 
    8989                                var state = style.CheckActive( path ) ; 
    9090 
    91                                 if ( style._LastState != state ) 
     91                                if ( state != ( style._LastState || null ) ) 
    9292                                { 
    9393                                        style._LastState = state ; 
    9494 
  • editor/dtd/fck_xhtml10strict.js

     
    2323 */ 
    2424FCK.DTD = (function() 
    2525{ 
    26     X = FCKTools.Merge ; 
     26    var X = FCKTools.Merge ; 
    2727 
    2828    var H,I,J,K,C,L,M,A,B,D,E,G,N,F ; 
    2929    A = {ins:1, del:1, script:1} ; 
  • editor/dtd/fck_xhtml10transitional.js

     
    2323 */ 
    2424FCK.DTD = (function() 
    2525{ 
    26     X = FCKTools.Merge ; 
     26    var X = FCKTools.Merge ; 
    2727 
    2828    var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ; 
    2929    A = {isindex:1, fieldset:1} ; 
     
    137137            changed the map to avoid breaking the links on pieces, having 
    138138            "<b>this is a </b><a><b>link</b> test</a>", instead of 
    139139            "<b>this is a <a>link</a></b><a> test</a>". 
    140 */ 
    141  No newline at end of file 
     140*/