hiding logout link when isXUL in the opac
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Jan 2006 23:01:18 +0000 (23:01 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Jan 2006 23:01:18 +0000 (23:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2671 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/sidebar.js

index f11aaee..202078c 100644 (file)
@@ -39,6 +39,8 @@ function initSideBar() {
 
        if(G.ui.sidebar.login) G.ui.sidebar.login.onclick = initLogin;
        if(G.ui.sidebar.logout) G.ui.sidebar.logout.onclick = doLogout; 
+
+       if(isXUL()) hideMe( G.ui.sidebar.logoutbox );
 }
 
 /* sets up the login ui components */