2 users online. Create an account or sign in to join them.Users

Search

I have a client who’s complaining about a few parts of Symphony that aren’t behaving as expected. I can’t replicate the issue on their site so I’m running down the list of errors on that page.

The one I don’t have a solution for is an error in TinyMCE’s javascript. The Error in the console is:

Error: DOM is not defined Source File: http://www.goodbuytimeshare.com/extensions/richtext_tinymce/assets/applyMCE.js Line: 21

That corresponds to this javascript function:

DOM.Event.addListener(window, "load", function() {
    DOM.select("div[class^=mceeditor]").forEach(function(div) {
        div.style.marginTop = "2px"; // Fix styles
    });
});

I did some Googling to see if I coud find out why this wasn’t behaving but as far as I could tell everything was fine. I thought about just converting this to a jQuery function but I’m afraid my javascript skills leave something to be desired.

I’ve experienced the same thing, this might solve your problem: http://pastie.org/863489

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details