Changeset 345

Show
Ignore:
Timestamp:
2007-06-01 20:12:07 (20 months ago)
Author:
alfonsoml
Message:

Fix for #527, ignore bad entries in the Toolbar configuration.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fcktoolbarset.js

    r258 r345  
    1 /* 
     1/* 
    22 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 
    33 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 
     
    241241                var oToolbarItems = ToolbarSet[x] ; 
    242242 
     243                // If the configuration for the toolbar is missing some element or has any extra comma 
     244                // this item won't be valid, so skip it and keep on processing. 
     245                if ( !oToolbarItems )  
     246                        continue ; 
     247 
    243248                var oToolbar ; 
    244249 
  • FCKeditor/trunk/_whatsnew.html

    r344 r345  
    132132                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/281">#281</a>] Custom 
    133133                        toolbar buttons now render correctly in all skins.</li> 
     134                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/527">#527</a>] If the configuration 
     135                        for a toolbar isn't fuly valid, try to keep on parsing it.</li> 
    134136        </ul> 
    135137        <h3>