Update of /cvsroot/fink/scripts/buildfink/fdb
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16945

Modified Files:
        FDBWebsite.pm fdb.js 
Log Message:
Don't use # as a dummy href

Index: FDBWebsite.pm
===================================================================
RCS file: /cvsroot/fink/scripts/buildfink/fdb/FDBWebsite.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- FDBWebsite.pm       2 Apr 2007 04:35:45 -0000       1.3
+++ FDBWebsite.pm       7 Apr 2007 05:30:13 -0000       1.4
@@ -62,11 +62,11 @@
 <body>
 <h1>Fink File Database</h1>
 <h2>Filesystem</h2>
-<ul id="filesystem"><li class="directory"><a href="#" 
file_id="0">/sw</a></li></ul>
+<ul id="filesystem"><li class="directory"><a href="javascript:" 
file_id="0">/sw</a></li></ul>
 <h2>Packages</h2>
 <ul id="packages">
 @{[join("\n", map { sprintf(
-   '<li class="package"><a href="#" package_id="%s">%s</a></li>',
+   '<li class="package"><a href="javascript:" package_id="%s">%s</a></li>',
    $_->{package_id},
    $_->{package_name})
 } @packages)]}

Index: fdb.js
===================================================================
RCS file: /cvsroot/fink/scripts/buildfink/fdb/fdb.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fdb.js      2 Apr 2007 04:35:45 -0000       1.2
+++ fdb.js      7 Apr 2007 05:30:13 -0000       1.3
@@ -34,7 +34,7 @@
        var file = data[i];
        if(file.is_directory) {
            lschildren += "<li class=\"directory\" " +
-               "<a href=\"#\" file_id=\"" + file.file_id +
+               "<a href=\"javascript:\" file_id=\"" + file.file_id +
                "\">" + file.file_name + " (";
        } else {
            lschildren += "<li>" + file.file_name + " (";


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to