--- a/includes/clientside/static/dynano.js Fri Mar 07 00:19:29 2008 -0500
+++ b/includes/clientside/static/dynano.js Fri Mar 07 01:27:28 2008 -0500
@@ -10,6 +10,9 @@
this.object = ( typeof(id) == 'object' ) ? id : document.getElementById(id);
if ( !this.object )
{
+ console.warn('Dynano: requested object is bad. id parameter follows.');
+ console.debug(id);
+ console.debug(tinyMCE.getInstanceById(id));
this.object = false;
return this;
}
@@ -102,8 +105,7 @@
if ( !tinymce_initted )
{
enano_tinymce_options.mode = 'exact';
- enano_tinymce_options.elements = this.object.name;
- console.debug(enano_tinymce_options);
+ enano_tinymce_options.elements = this.object.id;
initTinyMCE();
this.object.dnIsMCE = 'yes';
return true;