Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | wysiwyg7.x-none-js-fix-1414354.patch | 542 bytes | jantimon |
wysiwyg7.x-none-js-fix.patch | 578 bytes | jantimon |
Comments
Comment #1
sunI think we just want to remove the
.attach
from the line.Comment #2
jantimon CreditAttribution: jantimon commentedYou are probably right - there won't be a behavior without an attach function.
Comment #3
TwoDCommitted #2 to D7 branch.