Download & Extend

none.js is broken when Drupal.behaviors.textarea is not initialized.

Project:Wysiwyg
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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
AttachmentSize
wysiwyg7.x-none-js-fix.patch578 bytes

Comments

#1

Status:needs review» needs work

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

#2

Status:needs work» needs review

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

AttachmentSize
wysiwyg7.x-none-js-fix-1414354.patch 542 bytes

#3

Status:needs review» fixed

Committed #2 to D7 branch.

#4

Status:fixed» closed (fixed)

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

nobody click here