From c5dfe7bb35d2b23a73fe7401cff01294852d36f7 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 22 Sep 2011 23:35:08 +0200 Subject: [PATCH] Bug 3941: Follow up Improving the notices field to make it possible - to expand more than one field at a time - hide the notice content with another click Signed-off-by: Ian Walls Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/members/notices.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt index 8dcf7d7e65..4a6753e9b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -10,10 +10,10 @@ dateFormat: 'uk' [% END %] }); - - $("a.message-title").click(function(e){ - $("p.message").hide(); - $(this).next("p").show(); + + $(".message").hide(); + $(".message-title").click(function(e){ + $(this).next(".message").toggle(); e.preventDefault(); }); -- 2.39.5