Lines 26 and 50 of the script img_assist/plugins/img_assist/img_assist.js cause errors in certain browsers. This is due to scripts from other modules extending the Array prototype.

To fix, replace
for (var i in chunks)
with
for (var i = 0; i < chunks.length; i++)

The same problem was encountered on the wysiwyg module. An excellent discussion on the details can be found at http://drupal.org/node/593008.

Cheers,
Big Z

Professional Drupal Development
www.vitalatus.co.uk

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jbrydolf’s picture

Priority: Normal » Major
Status: Active » Needs review
FileSize
616 bytes

Thanks! Helped a lot.
Here's a patch for review.