Index: editor_plugin_src.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tinymce/plugins/drupalimage/editor_plugin_src.js,v
retrieving revision 1.1
diff -u -r1.1 editor_plugin_src.js
--- editor_plugin_src.js	28 Nov 2005 23:39:33 -0000	1.1
+++ editor_plugin_src.js	7 Dec 2005 14:18:57 -0000
@@ -34,8 +34,7 @@
   switch (command) {
     case "mceDrupalimage":
       var template = new Array();
-
-      template['file'] = 'index.php?q=img_assist/add&editor=tinymce'; // Relative to theme
+      template['file'] = '../../../../../../../index.php?q=img_assist/add&editor=tinymce&textarea=' +  tinyMCE.getInstanceById(editor_id).formTargetElementId; // Relative to theme
       template['width'] = 500;
       template['height'] = 660;
 
