Commit fced69d4 authored by Ivan Tyagov's avatar Ivan Tyagov

Use jQuery.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f1455a8
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts72889188.39</string> </value> <value> <string>ts95524491.35</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -24,27 +24,25 @@ ...@@ -24,27 +24,25 @@
</item> </item>
<item> <item>
<key> <string>data</string> </key> <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 /* 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 safely coexist in one HTML page with one HTML form */\n
appendChildNodes(document.forms[0], \n $("form").append(\'<input type="hidden" name="discussion_post_uid" value="\' +id + \'">\');\n
INPUT({\'value\':id, \n clickSaveButton("DiscussionThread_deleteDiscussionPost");\n
\'name\': \'delete_discussion_post_id\', \n
\'type\':\'hidden\'}));\n
clickSaveButton(\'DiscussionThread_deleteDiscussionPost\');\n
}\n }\n
\n \n
function redirectCreateCitedNewDiscussionPost(id){\n function redirectCreateCitedNewDiscussionPost(id){\n
/* this will add respective input box for reply post id (so multiple reply buttons can \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 safely coexist in one HTML page with one HTML form */\n
appendChildNodes(document.forms[0], \n $("form").append(\'<input type="hidden" name="discussion_post_uid" value="\' +id + \'">\');\n
INPUT({\'value\':id, \n clickSaveButton("DiscussionThread_redirectCreateNewDiscussionPost");\n
\'name\': \'discussion_post_uid\', \n
\'type\':\'hidden\'}));\n
clickSaveButton(\'DiscussionThread_redirectCreateNewDiscussionPost\');\n
}\n }\n
\n \n
</string> </value>
]]></string> </value>
</item> </item>
<item> <item>
<key> <string>precondition</string> </key> <key> <string>precondition</string> </key>
...@@ -52,7 +50,7 @@ function redirectCreateCitedNewDiscussionPost(id){\n ...@@ -52,7 +50,7 @@ function redirectCreateCitedNewDiscussionPost(id){\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>893</int> </value> <value> <int>705</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
erp5_base erp5_base
erp5_rss_style erp5_rss_style
erp5_knowledge_pad erp5_knowledge_pad
erp5_jquery
erp5_dms erp5_dms
\ No newline at end of file
80 82
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment