This bug had been fixed for Drupal 6: #403728: none.js is broken when Drupal.behaviors.textarea is not initialized..

I guess that the bug was created during the Drupal 7 port.

The line

if (Drupal.behaviors.textarea.attach) {

raises
Drupal.behaviors.textarea is undefined

Comments

Status:Needs review» Needs work

I think we just want to remove the .attach from the line.

Status:Needs work» Needs review
StatusFileSize
new542 bytes

You are probably right - there won't be a behavior without an attach function.

Status:Needs review» Fixed

Committed #2 to D7 branch.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.