Closed (fixed)
Project:
MaxLength
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2010 at 19:42 UTC
Updated:
3 Mar 2011 at 17:41 UTC
maxlength was adding to the body elemenent of a form even though the field was disabled (no label for body field in the content type).
This caused:
1) a mysterious input filter fieldset to appear, unattached to any visible textarea
2) a js error with WYSIWYG module, which resulted in a syntax error and no JS to function on the page, including the countdown javacript.
Attached patch only alters the title and body elements of the form if they are present. This fixed the two issues above.
| Comment | File | Size | Author |
|---|---|---|---|
| body_title.patch | 719 bytes | omerida |
Comments
Comment #1
aron novakAdded for title as well (is it possible to not have title element in form? Maybe yes)
Comment #2
omerida commentedIt is possible, via form_alter to hide it or via modules like automatic_nodetitle