prewikka/master: Fix link to users-settings from Statistics

[email protected] Wed, 10 Feb 2010 12:27:23 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit c46a2b141c99b1dead21a23ae8a836615174c164
Author: Yoann Vandoorselaere <[email protected]>
Date:   Wed Feb 10 11:40:14 2010 +0100

    Fix link to users-settings from Statistics
    
    The link to the logged in user settings, when accessed from the
    Statistics subpages, had an invalid parameters which triggered an
    exception.


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

 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 09d6287..33f63c7 100644
--- a/prewikka/templates/Stats.tmpl
+++ b/prewikka/templates/Stats.tmpl
@@ -18,7 +18,7 @@ function changeLinkUnit(unit) {
                 });
         }
 
-        \$("#topmenu").find("a").each(function() {
+        \$("#topmenu").find("div:not(.topmenu_item_info) 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