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 <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
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();
});