@@ -, +, @@ -> without patch, the showing/hidding of notices content does work -> with patch, it should work correctly everywhere - try to use --- .../intranet-tmpl/prog/en/modules/members/notices.tt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -16,18 +16,18 @@ "sPaginationType": "four_button" })); - $(".notice").hide(); - $(".notice-title").click(function(e){ - $(this).closest("tr").children().children(".notice").toggle(); - e.preventDefault(); - }); - + $("#noticestable").on("click", ".notice-title", function(e){ + e.preventDefault(); + var rowid = $(this).data("noticeid"); + $("#notice"+rowid).toggle(); + }); + }); //]]>
@@ -57,8 +57,8 @@ [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]