I've tried to upload an image and the insert image popup did not come back. With the attached patch, it works.

Instead of displaying that status message I've did this:

  if (!isset($node->image_path)) {
    drupal_goto('node/'. $node->nid);
  }

I guess this seally can not break anything.

CommentFileSizeAuthor
#1 patch_4380 byteschx
patch_3366 byteschx

Comments

chx’s picture

StatusFileSize
new380 bytes

Sorry, uploaded the not-so-beautiful patch, now there are a lot more spaces :) otherwise it's the same.

chx’s picture

Gordon made a better one than this simple solution. See this http://drupal.org/node/view/9496 patch and the CVS of htmlarea.