Show
Ignore:
Timestamp:
07/28/08 18:42:55 (4 months ago)
Author:
mattn
Message:

「XXX:XXX」フォーマットになっていない部分があるのでエラーが出ない様に修正

Files:
1 modified

Legend:

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

    r16696 r16752  
    377377                                        }); 
    378378                                        $('//*[@id="dirlist"]//span[@class="author"]').each(function () { 
    379                                                 authors.push([this, $(this).text().match(/^([^:]+):/)[1]]); 
     379                                                var author = $(this).text().match(/^([^:]+):/); 
     380                                                if (author.length > 0) authors.push([this, author[1]]); 
    380381                                        }); 
    381382                                        break;