[Slashdotjp-dev 1468] [999] use "posttype" when preview/submit comment using D2

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 12日 (木) 14:49:58 JST


Revision: 999
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=999
Author:   tach
Date:     2009-02-12 14:49:58 +0900 (Thu, 12 Feb 2009)

Log Message:
-----------
use "posttype" when preview/submit comment using D2

Modified Paths:
--------------
    images/trunk/Makefile
    images/trunk/comments.js


-------------- next part --------------
Modified: images/trunk/Makefile
===================================================================
--- images/trunk/Makefile	2009-02-12 05:37:58 UTC (rev 998)
+++ images/trunk/Makefile	2009-02-12 05:49:58 UTC (rev 999)
@@ -81,6 +81,7 @@
 		sed -e 's/value="No Thanks"/value="やりません"/' | \
 		sed -e 's/>(Remember that you can always adjust these controls with the slider widget/>(コメントの--LEFTORTOP--に見えるスライダーで制御できますよ)/' | \
 		sed -e 's/visible to the --LEFTORTOP-- of the discussion.)</</' | \
+		sed -e "s/params\['postercomment'\] = \$$dom('postercomment_' + pid).value;/&\n\tparams\['posttype'\] = \$$dom('posttype_' + pid).value;/" | \
 		sed -e "s/'top' : 'left';/'上の' : '左の';/" | \
 		sed -e 's/hidden comment</個の隠れコメント</' | \
 		sed -e 's/hidden comments</個の隠れコメント</' >> $@

Modified: images/trunk/comments.js
===================================================================
--- images/trunk/comments.js	2009-02-12 05:37:58 UTC (rev 998)
+++ images/trunk/comments.js	2009-02-12 05:49:58 UTC (rev 999)
@@ -1114,6 +1114,7 @@
 	params['gotmodwarning'] = $dom('gotmodwarning_' + pid).value;
 	params['postersubj'] = $dom('postersubj_' + pid).value;
 	params['postercomment'] = $dom('postercomment_' + pid).value;
+	params['posttype'] = $dom('posttype_' + pid).value;
 
 	var hcanswer = $dom('hcanswer_' + pid);
 	if (hcanswer)



Slashdotjp-dev メーリングリストの案内
Back to archive index