prewikka/master: Fix logout link from Statistics

[email protected] Fri, 12 Feb 2010 15:28:06 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit 64adf72422d4757041fa972aebeb02a72896ded6
Author: Yoann Vandoorselaere <[email protected]>
Date:   Fri Feb 12 15:25:32 2010 +0100

    Fix logout link from Statistics
    
    The logout button link, when accessed from the Statistics subpage
    had an invalid parameters which triggered an exception.
    
    Last minute fixes that complete commit c46a2b141c99b1dead21a23ae8a836615174c164.
    This is released as part of rc3.


========================================

 prewikka/templates/Stats.tmpl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

========================================

diff --git a/prewikka/templates/Stats.tmpl b/prewikka/templates/Stats.tmpl
index 33f63c7..c402457 100644
--- a/prewikka/templates/Stats.tmpl
+++ b/prewikka/templates/Stats.tmpl
@@ -18,7 +18,7 @@ function changeLinkUnit(unit) {
                 });
         }
 
-        \$("#topmenu").find("div:not(.topmenu_item_info) a").each(function() {
+        \$("#topmenu").find("div.topmenu_item_active a, div.topmenu_item_inactive a").each(function() {
                 \$(this).attr("href", \$(this).attr("href") + str);
         });
 }
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-cvslog