At the moment the way the Edit (configuration) forms for blocks works is that if the defining module implements the homebox_block_edit_form hook then it will render a form, regardless of whether the modules implementation of the hook has logic the only returns forms for certain deltas, this means if a multiple deltas are in use on Homebox and only one of them is actually defining a form, that both of them will have a form rendered regardless, the second being just a button.

Following patch adds a check before rending the form to see if the form is actually populated or not.

CommentFileSizeAuthor
#1 empty_edit_form-1781742-1.patch1.59 KBDeciphered
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Deciphered’s picture

Status: Active » Needs review
FileSize
1.59 KB

Patch

drumm’s picture

Issue summary: View changes
Status: Needs review » Closed (works as designed)

This looks like it has been fixed in the D7 version.