title: CKEditor, IE9 and JavaScript
body: <p>I am using the latest version of CKEditor (CKEditor 3.6.3, released on 17 April 2012) on my site.</p>
  
  <p>It works perfectly in Firefox, Chrome and IE9 without any modification.</p>
  
  <p>It works perfectly in Firefox and Chrome when I customize the toolbar, but then I get the following error message (I translated it) in IE9:</p>
  
  <pre><code>"SCRIPT5007: Cannot retrieve the value of property length, the object is null or undefined. 
  ckeditor.js, line 11101 token 21"
  </code></pre>
  
  <p>And that is the following line:</p>
  
  <pre><code>var w=o.toolbox.toolbars,x=o.config.toolbar instanceof Array ? o.config.toolbar : o.config['toolbar_'+o.config.toolbar];
      for(var y=0;y&lt;x.length;y++){
  </code></pre>
  
  <p>So somehow the variable <code>x</code> is not an <code>Array</code> in IE9: I've tried IE7, 8 and 9 various modes all have the same error.</p>
  
  <p>And it seems that IE9 is also the only browser that does not execute the following line:</p>
  
  <pre><code>CKEDITOR.editorConfig = function( config ) {}
  </code></pre>
  
  <p>Is this a familiar problem (if so, how can I fix it) or is it a bug in CKEditor?</p>