Changeset 2097


Ignore:
Timestamp:
06/19/2008 11:56:43 AM (6 years ago)
Author:
fredck
Message:

Fixed #2149 : CSS urls with querystring parameters were not being accepted for CSS values in the configuration file (like EditorAreaCSS).

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r2096 r2097  
    6262                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2276">#2276</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/2279">#2279</a>] On Opera 
    6363                        and Firefox 3, the entire page was scrolling on ENTER.</li> 
     64                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2149</a>] CSS urls 
     65                        with querystring parameters were not being accepted for CSS values in the configuration 
     66                        file (like EditorAreaCSS).</li> 
    6467        </ul> 
    6568        <p> 
  • FCKeditor/trunk/editor/_source/internals/fcktools.js

    r1950 r2097  
    8282        { 
    8383                // Test if the passed argument is an URL. 
    84                 if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) 
     84                if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) 
    8585                { 
    8686                        // The string may have several URLs separated by comma. 
     
    127127                { 
    128128                        // Test if the passed argument is an URL. 
    129                         if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) 
     129                        if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) 
    130130                        { 
    131131                                // The string may have several URLs separated by comma. 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy