Bug 8617 - Problem with display of comments waiting for moderation in OPAC
authorOwen Leonard <oleonard@myacpl.org>
Thu, 16 Aug 2012 19:19:04 +0000 (15:19 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Sat, 15 Sep 2012 05:38:18 +0000 (07:38 +0200)
commitce038936d1b45ba8799e9ce740d573048b36a2fa
tree6f413b13442b4cf7344ca643d9b5511744336b0d
parentf32be62ef6c9fae1099b38b9a4441dcd2bfb3231
Bug 8617 - Problem with display of comments waiting for moderation in OPAC

This patch addresses on aspect of Bug 8617: The behavior where
live previews of edited comments are displaying on opac-detail
as a duplicate comment. We must pass the review id back to the
script when submitting so that the check for it will evaluate
as true when it should.

This patch also corrects some JavaScript for translatability.

To test, submit a comment on a title and approve it. Return to
the title and edit the comment. When you submit your revised
comment the comment pop-up window should close and your revised
comment should appear on opac-detail as "pending approval."

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt