When creating a webform field on a new node that has none yet, a field already is displayed called "hidden". After adding a new field this will throw an error that may cause you to have to recreate your new field's configuration.

Comments

lliss’s picture

A patch is attached.

tizzo’s picture

Status: Active » Needs work

This:

  if (arg(0) == 'node' && !(arg(2))) {

could fail if this node is being loaded outside the context of the main node view page. Why is this necessary here?

lliss’s picture

This is still causing trouble when a node is loaded via code, this ought to fix the problem.

lliss’s picture

StatusFileSize
new662 bytes
tizzo’s picture

Status: Needs work » Fixed

Comitted thanks!

Status: Fixed » Closed (fixed)

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