Show
Ignore:
Timestamp:
09/28/08 22:42:19 (8 weeks ago)
Author:
CL
Message:

2文字コミッタ名でもコミッタページにコミットリストが出るようにした。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/coderepos.org/trac/share/js/TracUtils.js

    r19668 r20169  
    311311         */ 
    312312        , addCommitterRecentCommits : function () { 
    313                 if (!location.search && !/^\/share\/wiki\/Committers\/([^\/]{3,})/.test(location.pathname)) return; 
     313                if (!location.search && !/^\/share\/wiki\/Committers\/([^\/]{2,})/.test(location.pathname)) return; 
    314314                var author = RegExp.$1; 
    315                 $.get(TracUtils.TRAC_BASE+"/search?q="+author+"&noquickjump=1&changeset=on", {}, function (data) { 
     315                $.get(TracUtils.TRAC_BASE+"/search?q="+author+"%20"+author+"&noquickjump=1&changeset=on", {}, function (data) { 
    316316                        $("<div class='recent-commits'><h2>Recent Commits</h2></div>").append( 
    317317                                $(data).xfind(".//dl")