Index: modules/node/node.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.js,v
retrieving revision 1.5
diff -u -r1.5 node.js
--- modules/node/node.js	9 Apr 2010 12:24:53 -0000	1.5
+++ modules/node/node.js	14 Apr 2010 08:02:16 -0000
@@ -4,6 +4,9 @@
 
 Drupal.behaviors.nodeFieldsetSummaries = {
   attach: function (context) {
+    if (typeof jQuery.fn.drupalSetSummary == 'undefined') {
+      return;
+    }
     $('fieldset#edit-revision-information', context).drupalSetSummary(function (context) {
       return $('#edit-revision', context).is(':checked') ?
         Drupal.t('New revision') :
Index: modules/comment/comment-node-form.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment-node-form.js,v
retrieving revision 1.4
diff -u -r1.4 comment-node-form.js
--- modules/comment/comment-node-form.js	2 Dec 2009 15:09:16 -0000	1.4
+++ modules/comment/comment-node-form.js	14 Apr 2010 08:02:16 -0000
@@ -4,11 +4,14 @@
 
 Drupal.behaviors.commentFieldsetSummaries = {
   attach: function (context) {
-    $('fieldset#edit-comment-settings', context).setSummary(function (context) {
+    if (typeof jQuery.fn.drupalSetSummary == 'undefined') {
+      return;
+    }
+    $('fieldset#edit-comment-settings', context).drupalSetSummary(function (context) {
       return Drupal.checkPlain($('input:checked', context).next('label').text());
     });
     // Provide the summary for the node type form.
-    $('fieldset#edit-comment', context).setSummary(function(context) {
+    $('fieldset#edit-comment', context).drupalSetSummary(function(context) {
       var vals = [];
 
       // Default comment setting.

