Skip to content

Commit

Permalink
Closes #37. The list now sorts after changing views.
Browse files Browse the repository at this point in the history
  • Loading branch information
JessieAMorris committed May 17, 2013
1 parent fc29547 commit e225c74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/js/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ $(document).ready(function() {
},
format: function(s, table, cell, cellIndex) {
var matches = s.toLowerCase().match(/([a-z,.'-]+)$/i); // Get the last name
console.log(matches);
if(typeof(matches) === "object" && matches != null && matches.length > 0){
return matches[0];
} else {
Expand Down Expand Up @@ -628,6 +627,8 @@ $(document).ready(function() {
theme: "bootstrap"
});

$("#view-friends table").trigger("update");

$('#modalSpinner').hide();
}
);
Expand Down

0 comments on commit e225c74

Please sign in to comment.