When you click hook groupings such as "define your own content type (node)", it should be auto-checking the relevant hooks and isn't.

Firebug says:

checkbox is not defined ..... module_builder.js (line 24)
check_hooks ..... module_builder.js (line 24)
onclick ..... ?q=module_builder (line 1)

Comments

binduwavell@drupal.org’s picture

When I click on "define your own content type (node)", check_hooks() is called with an array of hooks. Each hook name includes _ as the word separator: hook_node_info for example. The id for the node info hook is "edit-hooks-node-hook-node-info". Notice that we have hook-node-info as the suffix rather than hook_node_info... This mismatch appears to be the reason we don't see the expected checkbox behavior.

binduwavell@drupal.org’s picture

Assigned: Unassigned » binduwavell@drupal.org
Status: Active » Fixed

forms 2 api converts _ to - in ids, our javascript was not handling this.

Anonymous’s picture

Status: Fixed » Closed (fixed)