Index: community_tags.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/community_tags/community_tags.js,v
retrieving revision 1.4.2.1
diff -u -p -r1.4.2.1 community_tags.js
--- community_tags.js	19 Jul 2008 17:13:54 -0000	1.4.2.1
+++ community_tags.js	27 Oct 2008 21:00:35 -0000
@@ -33,7 +33,8 @@ Drupal.behaviors.communityTags = functio
       $('input[@type=submit]', this.form).hide();
 
       // Fetch settings.
-      var o = Drupal.settings.communityTags;
+      var nid = $('input[@name=nid]', this.form).val();
+      var o = Drupal.settings.communityTags['n_' + nid];
       var sequence = 0;
 
       // Show the textfield and empty its value.
Index: community_tags.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/community_tags/community_tags.module,v
retrieving revision 1.37.2.3
diff -u -p -r1.37.2.3 community_tags.module
--- community_tags.module	19 Jul 2008 20:10:18 -0000	1.37.2.3
+++ community_tags.module	27 Oct 2008 21:00:36 -0000
@@ -477,7 +477,7 @@ function community_tags_node_view($node,
     $output .= '<p>'. t('You have already tagged this post. Your tags: ') . theme('community_tags', 'user_node', NULL, $user->uid, $node->nid) .'</p>';
   }
 
-  drupal_add_js(array('communityTags' => array('tags' => $names, 'url' => url('community-tags/js/'. $node->nid), 'add' => t('Add'))), 'setting');
+  drupal_add_js(array('communityTags' => array('n_'. $node->nid => array('tags' => $names, 'url' => url('community-tags/js/'. $node->nid), 'add' => t('Add')))), 'setting');
 
   return $output;
 }
