Hi, I really like this module, it works well but it seems to affect the page load time of my site. I use firebug for firefox and it flagged the following:

oFCKeditor_edit_foo is not defined
(no name)()by-module (line 908)
e()

also it lists the imce_set_fck.js as taking 15.19s to load at 911b.

// $Id: imce_set_fck.js,v 1.1.2.4 2006/11/23 01:03:47 ufku Exp $

if (Drupal.jsEnabled) {

  $(window).load(imceInitiateFCK);

}

function imceInitiateFCK() {

  if ("undefined" != typeof(window.FCKeditorAPI)) {

    $.each(FCKeditorAPI.__Instances, function(){imceSetFCK(this);});

  }

  else if ("undefined" != typeof(window.FCKeditor_OpenPopup)) {

    $('textarea').each(function () {

      if (eval('"undefined" != typeof(oFCKeditor_' + this.id.replace(/\-/g, '_') +')')) {

        imceSetFCK(eval('oFCKeditor_' + this.id.replace(/\-/g, '_')));

      }

    });

  }

}

function imceSetFCK(fck) {

  var width = 640;

  var height = 480;

  var types = ['Image', 'Link', 'Flash'];

  for (var t in types) {

    eval('fck.Config.'+types[t]+'Browser = true; fck.Config.'+types[t]+'BrowserURL = imceBrowserURL;

 fck.Config.'+types[t]+'BrowserWindowWidth = width; fck.Config.'+types[t]+'BrowserWindowHeight = height

;');

  }

}

When I disabled fckeditor (still with imce enabled) I didn't get this message.
Thanks.

Comments

ontwerpwerk’s picture

Project: FCKeditor - WYSIWYG HTML editor » IMCE

reassigning this to imce

ontwerpwerk’s picture

Status: Active » Postponed (maintainer needs more info)

could you try it with the new 1.3 beta release of the fckeditor module .. it should invoke the imce component better.

ufku’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)