title: this.getDoc() is null in FF using tinymce
body: <p>I got the problem that when i load my page i immediatly receive the error : <code>this.getDoc() is null</code></p>
  
  <p>The function <code>getBody()</code> of <code>Editor.js</code> gets called and the document seems to be not available</p>
  
  <pre><code>getBody : function() {
      return this.bodyElement || this.getDoc().body;
  },
  </code></pre>
  
  <p>In this case getBody() has been triggered by the destroy() function in a gecko code block.</p>
  
  <pre><code>destroy : function(s) {
          var t = this;
  
          // One time is enough
          if (t.destroyed)
              return;
  
          // We must unbind on Gecko since it would otherwise produce the pesky "attempt to run compile-and-go script on a cleared scope" message
          if (isGecko) {
              Event.unbind(t.getDoc());
              Event.unbind(t.getWin());
              Event.unbind(t.getBody()); // here is the relevant getBody() call
          }
  </code></pre>
  
  <p>Destroy has been triggered by the function addUnload of tinymce.js </p>
  
  <pre><code>o.func.call(o.scope, 1);
  </code></pre>
  
  <p>What can i do to avoid this problem?</p>