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)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 25 Sep 2012 02:03:27 +0000 (14:03 +1200)
commit67f6bc5d7a658e966c98c30e5c1607c9d050a916
tree9bd2f70000a799c0c4b27fd51cb525b7a5cc0217
parent7d7f44c4505fbe4d1656219b7e03ed0ed04d656f
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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt