Commit e9c62d82 authored by Andrew Robert Nicols's avatar Andrew Robert Nicols
Browse files

Ensure that the [X] also disappears when sliding the homepage info away.


Signed-off-by: default avatarAndrew Robert Nicols <andrew.nicols@luns.net.uk>
parent 72d12ea8
......@@ -65,7 +65,7 @@ if ($USER->is_logged_in()) {
// allow the user to choose never to see the info boxes again
$js = <<<JAVASCRIPT
function hideinfo() {
slideUp($('home-info'));
slideUp($('home-info-container'));
}
function nevershow() {
......
<div id="home-info-container">
{if $USER->is_logged_in()}
<div id="hideinfo"><a title="{str tag=Hide}"><img src="{theme_url filename='images/icon_close.gif'}" alt="[x]" /></a></div>
{/if}<table id="home-info" class="home-info-table{if $USER->is_logged_in()} loggedin{/if}">
......@@ -111,3 +111,4 @@
</td>
</tr>
</table>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment