Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I go to the page ?q=admin/structure/types/manage/article (where article is a particular content type), I get this error in firebug:
$("fieldset#edit-auto-nodetitle", context).setSummary is not a function
[Break on this error] $('fieldset#edit-auto-nodetitle', context).setSummary(function (context) {
This function is defined in the file auto_nodetitle.js
Comment | File | Size | Author |
---|---|---|---|
#4 | setsummary-819040-4.patch | 534 bytes | 13rac1 |
Comments
Comment #1
cfennell CreditAttribution: cfennell commentedThis causes js to fail for other modules; in my case, autosuggest in the nodehierarchy module failed. Disabling automatic node resolved the problem for me.
Comment #2
braindrift CreditAttribution: braindrift commentedSubscribing
This function is not defined in auto_nodetitle.js, the function is called from there.
Comment #3
braindrift CreditAttribution: braindrift commentedQuick Fix:
just replace the line 6 in auto_nodetitle.js by:
$('fieldset#edit-auto-nodetitle', context).drupalSetSummary(function (context) {
Comment #4
13rac1 CreditAttribution: 13rac1 commentedArgh/Haha! I'm creating a module and the FormAPI AJAX callback wasn't working. I though it was something I was doing wrong.
Patch attached.
Comment #5
fagothanks, committed.