This module conflicts with the HTMLarea module.
When using IE 6.0 with and the htmlarea module installed in drupal, a javascript error is received when the "Insert image snippet" button is pressed . I'm sorry I can't be more specific on what this error is because an IE bug prevents me from looking at the details (the error dialog box disappears immediately).
In Firefox, the browser just hangs when the button is pressed.
I assume that the problem stems from the fact that textarea box has a different object name when htmlarea is installed. This confuses the img_assist module.
Comments
Comment #1
Steve Dondley commentedThis bug should read "active".
Comment #2
matt westgate commentedI haven't been able to reproduce this problem. Is this still an issue?
Comment #3
samo commentedI receive the same error w/ HTMLArea + img_assist installed.
Here is the error from IE:
Line: 102
Char: 5
Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Code: 0
URL: http://dev.mysite.org/img_assist/load/properties/1
Comment #4
moshe weitzman commentedimg_assist version: Revision: 1.43 (i.e. latest HEAD)
I am getting this same error (but on line 147). I have tinymce enabled (latest HEAD version), if that matters. The line which is errorring out is: myTextArea.focus() in insert_image(snippit).
Note that I am also getting an equivalent similar Firefox error on this same site. The exact error is:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://me/drhead/modules/img_assist/properties.js :: insert_image :: line 153" data: no]
Comment #5
moshe weitzman commentedI should add that I have no htmlarea on my site, just tinemce.
Comment #6
matt westgate commentedHTMLArea and Img_assist are currently not compatible with each other. Although I think they could be made to work together with a little time investment.