Permalink
Browse files

Wire up ajax events for for server-side data table. Fixes issue 4cloj…

  • Loading branch information...
1 parent 81ff1f2 commit ea3c5a4d916c76d7bb02b3fce9c1cf88eb25d339 @gigasquid gigasquid committed Oct 10, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 resources/public/script/foreclojure.js
@@ -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")
@@ -59,6 +59,7 @@ $(document).ready(function() {
});
return false;
});
+
});
var difficulty = {

0 comments on commit ea3c5a4

Please sign in to comment.