From 4140a02ee0f6d9f1cb0c508f2d4bc0c71a49f879 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 Content-Type: text/plain; charset="utf-8" Improving the notices field to make it possible - to expand more than one field at a time - hide the notice content with another click --- .../prog/en/modules/members/notices.tt | 8 ++++---- 1 files 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 8dcf7d7..4a6753e 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(); }); -- 1.7.4.1