Skip to content

Commit

Permalink
Wire up ajax events for for server-side data table. Fixes issue #158
Browse files Browse the repository at this point in the history
  • Loading branch information
gigasquid committed Oct 10, 2011
1 parent 81ff1f2 commit ea3c5a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/public/script/foreclojure.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ $(document).ready(function() {

$("#all-users-link").html("[show <a href=\"/users/all\">all</a>]");

$("#user-table").addClass("js-enabled");
$("[id*=user-table]").addClass("js-enabled");

$("#user-table input.following").live("click", function(e) {
$("[id*=user-table] input.following").live("click", function(e) {
e.preventDefault();
var $checkbox = $(this)
var $form = $checkbox.parents("form")
Expand All @@ -59,6 +59,7 @@ $(document).ready(function() {
});
return false;
});

});

var difficulty = {
Expand Down

0 comments on commit ea3c5a4

Please sign in to comment.