For some reason, the nodeapi 'op form' change (http://drupal.org/node/39778) removed the fieldset surrounding the 'input format' selection on node add/edit forms. See the CVS diff: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/filter.module?r1=1.9...

This patch restores the fieldset, by once again nesting all elements within an array element called 'filter'. The 'op form' patch kept (and even slightly improved) the fieldset properties, and these are unchanged here.

CommentFileSizeAuthor
filter_fieldset.patch1.62 KBJaza
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drewish’s picture

I'd been wondering if this was an intentional change or not. The patch looks good though.

chx’s picture

Please test this patch throughly. Say, PHP filter works for nodes, comments, custom blocks?

Jaza’s picture

Status: Needs review » Reviewed & tested by the community

Just tested this patch by applying the PHP filter on a node, a comment, and a custom block. All works fine.

chx: I don't really see what problems this patch could cause. It's making a very small and basic change, and all it's doing is bringing back the old fieldset that was already there before. Am I missing something?

As far as I can see, the patch is ready to go in.

chx’s picture

If it works, it's good. I was just concerned a bit because it's a crucial component of Drupal.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Looks good. Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)