diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.js.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.js.xml
index 53d8cb90fb536f074cad4b9ed4ac859bc3e0629a..9091a73d3b57142726df4bef8ba5e249f80d300a 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.js.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.js.xml
@@ -12,7 +12,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts72889188.39</string> </value>
+            <value> <string>ts95524491.35</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -24,27 +24,25 @@
         </item>
         <item>
             <key> <string>data</string> </key>
-            <value> <string>function deleteDiscussionPost(id){\n
+            <value> <string encoding="cdata"><![CDATA[
+
+function deleteDiscussionPost(id){\n
   /* this will add respective input box for delete post id (so multiple delete buttons can \n
      safely coexist in one HTML page with one HTML form */\n
-  appendChildNodes(document.forms[0], \n
-                   INPUT({\'value\':id, \n
-                          \'name\': \'delete_discussion_post_id\', \n
-                          \'type\':\'hidden\'}));\n
-  clickSaveButton(\'DiscussionThread_deleteDiscussionPost\');\n
+  $("form").append(\'<input type="hidden" name="discussion_post_uid" value="\' +id +  \'">\');\n
+  clickSaveButton("DiscussionThread_deleteDiscussionPost");\n
 }\n
 \n
 function redirectCreateCitedNewDiscussionPost(id){\n
   /* this will add respective input box for reply post id (so multiple reply buttons can \n
      safely coexist in one HTML page with one HTML form */\n
-  appendChildNodes(document.forms[0], \n
-                   INPUT({\'value\':id, \n
-                          \'name\': \'discussion_post_uid\', \n
-                          \'type\':\'hidden\'}));\n
-  clickSaveButton(\'DiscussionThread_redirectCreateNewDiscussionPost\');\n
+  $("form").append(\'<input type="hidden" name="discussion_post_uid" value="\' +id +  \'">\');\n
+  clickSaveButton("DiscussionThread_redirectCreateNewDiscussionPost");\n
 }\n
 \n
-</string> </value>
+
+
+]]></string> </value>
         </item>
         <item>
             <key> <string>precondition</string> </key>
@@ -52,7 +50,7 @@ function redirectCreateCitedNewDiscussionPost(id){\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>893</int> </value>
+            <value> <int>705</int> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/bt5/erp5_discussion/bt/dependency_list b/bt5/erp5_discussion/bt/dependency_list
index b6052771d56c588364aa23181f025425991a794e..c83dbbece2695011437971e022234282a242bdd4 100644
--- a/bt5/erp5_discussion/bt/dependency_list
+++ b/bt5/erp5_discussion/bt/dependency_list
@@ -1,4 +1,5 @@
 erp5_base
 erp5_rss_style
 erp5_knowledge_pad
+erp5_jquery
 erp5_dms
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/revision b/bt5/erp5_discussion/bt/revision
index e3f1e9b791c84fce95fe992dc246e9e2286c84ed..9d1ce53f8cc2ee2d55094091042b3fd02f9bd1ce 100644
--- a/bt5/erp5_discussion/bt/revision
+++ b/bt5/erp5_discussion/bt/revision
@@ -1 +1 @@
-80
\ No newline at end of file
+82
\ No newline at end of file