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

CommentFileSizeAuthor
#4 setsummary-819040-4.patch534 bytes13rac1

Comments

cfennell’s picture

Priority: Minor » Normal

This causes js to fail for other modules; in my case, autosuggest in the nodehierarchy module failed. Disabling automatic node resolved the problem for me.

braindrift’s picture

Subscribing

This function is not defined in auto_nodetitle.js, the function is called from there.

braindrift’s picture

Quick Fix:
just replace the line 6 in auto_nodetitle.js by:
$('fieldset#edit-auto-nodetitle', context).drupalSetSummary(function (context) {

13rac1’s picture

Status: Active » Needs review
StatusFileSize
new534 bytes

Argh/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.

fago’s picture

Status: Needs review » Fixed

thanks, committed.

Status: Fixed » Closed (fixed)

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