Ticket #2149: 2149.patch
File 2149.patch, 1.6 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
51 51 nodeTagName object.</li> 52 52 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1614">#1614</a>] Unified 53 53 FCKConfig.FullBasePath with FCKConfig.BasePath.</li> 54 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2149</a>] CSS urls 55 with querystring parameters were not being accepted for CSS values in the configuration 56 file (like EditorAreaCSS).</li> 54 57 </ul> 55 58 <p> 56 59 </p> -
editor/_source/internals/fcktools.js
81 81 if ( typeof( cssFileOrArrayOrDef ) == 'string' ) 82 82 { 83 83 // Test if the passed argument is an URL. 84 if ( /[\\\/\.] \w*$/.test( cssFileOrArrayOrDef ) )84 if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) 85 85 { 86 86 // The string may have several URLs separated by comma. 87 87 return this.AppendStyleSheet( domDocument, cssFileOrArrayOrDef.split(',') ) ; … … 126 126 if ( typeof( cssFileOrArrayOrDef ) == 'string' ) 127 127 { 128 128 // Test if the passed argument is an URL. 129 if ( /[\\\/\.] \w*$/.test( cssFileOrArrayOrDef ) )129 if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) 130 130 { 131 131 // The string may have several URLs separated by comma. 132 132 return this.GetStyleHtml( cssFileOrArrayOrDef.split(','), markTemp ) ;