Skip to content

Commit

Permalink
fix filter() function in cohistory.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Jul 15, 2011
1 parent 5192237 commit 0a35d6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/webapp/scripts/cohistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ function reload() {
}

function filter() {
var query = $("#textfilter input").attr("value").toLowerCase();
var value = $("#textfilter input").attr("value");
var query = "";
if (value)
query = value.toLowerCase();
var queryRegExp = new RegExp(query, "i");
$(".members > ol > li").each(function(){
var qualName1 = $(this).attr("name");
Expand Down

0 comments on commit 0a35d6d

Please sign in to comment.