Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2010 at 12:25 UTC
Updated:
20 Mar 2020 at 16:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
casey commentedAnother example: comment_form_node_form_alter() contains fixed IDs '#edit-comment-0' to '#edit-comment-2'
Comment #2
casey commentedComment #3
moshe weitzman commentedWould this make it harder to target node forms via css/js? Do all node forms have a common class?
Comment #4
moshe weitzman commentedWould this make it harder to target node forms via css/js? Should all node forms have a common class?
Comment #5
casey commentedNo not at all.
Reroll uses classes instead of names which is even more generic. Also altered menu.js' Drupal.behaviors.menuLinkAutomaticTitle to make it work for multiple node forms.
Comment #6
moshe weitzman commentedOK, lets do this.
Comment #7
dries commentedCommitted to CVS HEAD. Thanks.
Comment #9
sunShould have been .once(), not .each().
Powered by Dreditor.