[dw-free] Trying to screen/freeze comments via the inbox throws up an "Invalid form submission&
[commit: http://hg.dwscoalition.org/dw-free/rev/29efd992930f]
http://bugs.dwscoalition.org/show_bug.cgi?id=3638
Generate a form_auth for use in the inbox.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3638
Generate a form_auth for use in the inbox.
Patch by
Files modified:
- cgi-bin/LJ/Event/JournalNewComment.pm
- cgi-bin/LJ/Event/JournalNewComment/Edited.pm
--------------------------------------------------------------------------------
diff -r 1590b436d29f -r 29efd992930f cgi-bin/LJ/Event/JournalNewComment.pm
--- a/cgi-bin/LJ/Event/JournalNewComment.pm Thu Jun 16 15:02:53 2011 +0800
+++ b/cgi-bin/LJ/Event/JournalNewComment.pm Thu Jun 16 15:44:19 2011 +0800
@@ -196,6 +196,7 @@
};
my $cmt_info = $comment->info;
+ $cmt_info->{form_auth} = LJ::form_auth( 1 );
my $cmt_info_js = LJ::js_dumper($cmt_info) || '{}';
my $posterusername = $self->comment->poster ? $self->comment->poster->{user} : "";
diff -r 1590b436d29f -r 29efd992930f cgi-bin/LJ/Event/JournalNewComment/Edited.pm
--- a/cgi-bin/LJ/Event/JournalNewComment/Edited.pm Thu Jun 16 15:02:53 2011 +0800
+++ b/cgi-bin/LJ/Event/JournalNewComment/Edited.pm Thu Jun 16 15:44:19 2011 +0800
@@ -45,6 +45,7 @@
};
my $cmt_info = $comment->info;
+ $cmt_info->{form_auth} = LJ::form_auth( 1 );
my $cmt_info_js = LJ::js_dumper($cmt_info) || '{}';
my $posterusername = $self->comment->poster ? $self->comment->poster->{user} : "";
--------------------------------------------------------------------------------
