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 <ian.walls@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
042fd50313
commit
c5dfe7bb35
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue